Jump to content
  • Advertisement
Sign in to follow this  
mwkenna

Collision Response

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

I have implemented sliding collision response. Using a recursive collision response I am seeing some strange behavior and I believe it's because I am moving the player to the point of contact and then sliding them along the edge.

 

Question: I have seen a-lot of tutorials that say to move "very close to point of contact". Moving exactly to the point of contact before calculating the slide vector means that t=0 collisions are being registered and causing unnecessary recursion. Could someone provide some pseudocode to detail the correct process for recursive correction?

 

 

Thanks,

Mark.

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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!