Jump to content

View more

Image of the Day

#ld38 #screenshotsaturday Mimosa Fizz action gif #2 https://t.co/TUzdppvfUL
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

Basic Swept SAT Collision Response

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
2 replies to this topic

#1 mwkenna   Members   

143
Like
0Likes
Like

Posted 29 October 2013 - 01:56 PM

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.



#2 DT....   Members   

487
Like
0Likes
Like

Posted 30 October 2013 - 04:33 AM

http://box2d.org



#3 mwkenna   Members   

143
Like
0Likes
Like

Posted 30 October 2013 - 04:45 AM

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.






Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.