Jump to content
  • Advertisement
Sign in to follow this  
VideroBoy

Handling collision resolution across whole world

This topic is 2476 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

This is in the context a top-down or isometric game like Zelda or Robotron. I don't need or want realistic physics that use forces or acceleration, but I do want different types of collision responses. Moving characters should slide around terrain and around each other. Characters should be knocked back by explosions and powerful attacks. Arcadey bouncy bullets should bounce off walls. Pushable puzzle blocks could exist.

I've read about collision detection, and a little bit about collision resolution between a single pair of colliding objects, but I've seen little about how to prevent a whole group of moving objects from overlapping with each other and the terrain.

Suppose I have a relatively simplistic discrete collision detection scheme, where first I move all objects then check for collisions (my attempts at continuous collision detection always ended in tears). When resolving a pair of colliding objects, how do I make sure that separating them does not create new collisions with other objects?

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!