Modifying sf::ConvexShape hitbox in sfml

26 Views Asked by At

I am trying to modify the hitbox of a convex shape in sfml in order to accurately test for intersection between a projectile that I have. I cannot seem to figure out how to modify the bounding box of my shape in order to accurately follow the outline of my shape. This is what the current hit box looks like based on the global bounds of my convex shape. I was wondering what others have done to get an accurate representation for the hitbox of shapes in sfml? Thanks for any help.

0

There are 0 best solutions below