Archived

This topic is now archived and is closed to further replies.

Gammastrahler

Collision Detection Again

Recommended Posts

Gammastrahler    150
Hi, i have my collision detection system for an indoor 3d shooter almost running. But some problems still remain: If i add friction, i get some problems like jittering, or i am able to climb up walls. also, sometimes i get stuck on a wall which i pass by side... very annoying and curious.... how can i avoid this? currently, i calculaty my friction like this: resultVector = offsetVector * friction, where friction is a scalar. if anone has some knowledge on this and could help me throigh this i would be very happy! thanks Gammastrahler

Share this post


Link to post
Share on other sites
Ilici    862
what is offsetVector ?

I''d add friction like vFriction = -Normalize(vVelocity) * mass * frictionConstant

Share this post


Link to post
Share on other sites