Collision Detection Again

Started by
1 comment, last by Gammastrahler 20 years, 1 month ago
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
Advertisement
what is offsetVector ?

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

offset is : collisionPlane.normal * (1.0f - velocity);

1.0 is for unit sphere, since i scale my world by 1 / radiusvector, to support ellipsoids.

This topic is closed to new replies.

Advertisement