Sign in to follow this  
Owen Deery

SAT collision smoothing

Recommended Posts

I'm trying to do some simple separating axis collision detection/response. I've followed the documentation on MetaNet's website and it's turned out mostly good. The main problem seems to be the response, I've got the objects being projected out of each other using the minimum overlap but the collision is extremely jumpy especially when interacting with a static object or when there are several dynamic objects piled on top of each other. Is there any way I can solidify this system through some sort of relaxation or iteration method? Or is this just one of the downsides to SAT collision detection? http://img2.imageshack.us/img2/5647/75745422.jpg

Share this post


Link to post
Share on other sites
it's the nature of the beast. Object stacking is always a problem, you need to resolve collisions in low to high order.

Share this post


Link to post
Share on other sites
For stacks, you could try doing multiple passes per frame, so that the objects can "push" each other; if you only do a single collision pass, earlier objects can push later objects, but not vice-versa.. which can cause problems.

[Edited by - raigan on August 15, 2009 7:17:49 PM]

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this