Advertisement

2D Circular collison detection

Started by September 08, 2002 11:09 PM
1 comment, last by DevLiquidKnight 22 years, 5 months ago
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.
Advertisement
I just used the distance forumla after i thought about it

This topic is closed to new replies.

Advertisement