Jump to content
  • Advertisement
Sign in to follow this  
mwkenna

Basic Swept SAT Collision Response

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

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.

Share this post


Link to post
Share on other sites
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.

Share this post


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

  • Advertisement
×

Important Information

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

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!