Capsule Colliders Stuck When Head On Collision
Hey all,
I'm wondering if you guys can help with this since I can't seem to find any resources on it.
I basically have two 3D Capsule Colliders, one is player controlled using AddForce to a Rigidbody and one is a static obstacle. I am trying to make it so that when the player collides with the obstacle they slide around it. I've tried changing the physics materials so that there is no friction and this works for the most part, but if the player capsule collides just right with the obstacle so its sort of a "heads on" collision the player just stops and doesn't slide around it.
Any help will be greatly appreciated :)
Answer by unity_Bc-PitEWDbsLOw · Jan 26, 2019 at 11:06 AM
You need to add a physics-material that has no friction. Try walking along a wall with your face pressing against it. You wouldnt keep your speed either.
Your answer
![](https://koobas.hobune.stream/wayback/20220612144415im_/https://answers.unity.com/themes/thub/images/avi.jpg)