Jump to content
  • Advertisement
Sign in to follow this  
dawidjoubert

Quake 3 style collision and fine slidding

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

Hi ive been checking around and i got Nathon Ostgards tutorials on collision detection on bsp maps quake style the thing is that i need a way to climb stairs smoothly instead of jumping that 5 units everytime its close to a step. I considered a proxy Boundingbox (Larger than collision bounding box) and then determining how far the collision is from the true AABB and then thus just adding to its height Any suggestions or help would be great. Dawid joubert

Share this post


Link to post
Share on other sites
Advertisement
One recommendation: check out the Quake 2 source code. I'm not sure where in the code it handles stairs, though (it might take some work to find it).

Also, the Doom 3 sdk comes with the physics code, so you might look in the 'player physics' class. I haven't looked at that part yet, though, and I'm guessing it uses a more sophisticated method in keeping with the rest of the physics engine.

And I second eelco's suggestion of the (axis-aligned) ellipsoid/triangle approach. Check out Kasper Fauerby's paper 'Improved Collision Detection and Response' for code and a description of the algorithm.

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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!