Collision Detection Again
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
what is offsetVector ?
I''d add friction like vFriction = -Normalize(vVelocity) * mass * frictionConstant
I''d add friction like vFriction = -Normalize(vVelocity) * mass * frictionConstant
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement