SFML How can made correct collision bullet to ConvexShape polygon asteroid?obs:(in code before work with CircleShape)
问题 [![enter image description here][1]][1]I just trying working on SFML code of asteroid game where collision bullet is checked with asteroid CircleShape by radius.I just changed shape to ConvexShape but cant find solution for made correct collision between bullet vector with Asteroid vector ConvexShape.Radius not work correctly. I go put a original code from asteroid.cpp bullet.cpp and level.cpp this last where ocurr conditional for kill bullet and broke or kill asteroid by distance of radius