2D Circular collison detection
how can i check if an object is within a specific radius of a circle? Id search fourm but its disabled..
Get the distance between the two objects, and if it''s <= the radius of your circle, then they collide. That''s assuming the origin of your circle coincides with one of the objects.
This was an insanely simple question so I''m not sure if I overlooked something you wanted to know.
This was an insanely simple question so I''m not sure if I overlooked something you wanted to know.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement