Advertisement Jump to content


This topic is now archived and is closed to further replies.

Venerable Vampire

Collision question

This topic is 5370 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I am working on a very simple 2d engine as a project. The view will be constructed in opengl but the actual geometry is stored as a series of 2d "walls". The camera is encolsed inside of a circle. I know how to find whether my circle is touching a wall, but how do I determine the collision while its moving? Like if I move the circle along a direction vector, how do I determine the time of intersection? Thanks in advance. Life would be so much easier if we could just get the source code.

Share this post

Link to post
Share on other sites
Watch this thread and look at olii's profile. He has answered a lot of threads related to collision detection. He also has a site with very good collision detection examples.

[edited by - owl on May 8, 2004 7:42:45 AM]

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using, you agree to our community Guidelines, Terms of Use, and Privacy Policy. is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!