Advertisement

Basic Swept SAT Collision Response

Started by October 29, 2013 07:56 PM
1 comment, last by mwkenna 11 years, 3 months ago

All

I am trying to understand swept sat following the Olli's tutorials. I have implemented the collision detection and understand all that code very well. What I am not sure on is how to handle the response. From his tutorials I can see that he implements "Basic arcade collision response" but I do not want to implement rigid body dynamics yet.

I have tried to modify the example code to remove all but the simplest collision resolution where we modify the players position based on MTD or time of impact but I'm getting some strange results.

Does anyone have a tutorial on how to correctly handle the response for t<0, t==0 and t>0 ?

Would really appreciate any help!

Thanks,

Mark.

http://box2d.org

Advertisement

Thanks for that... but in my post I did mention that I don't want to implement rigid body dynamics. All I am trying to achieve is the simplest collision response where a polygon cannot penetrate other polygons.

Thanks,

Mark.

This topic is closed to new replies.

Advertisement