- Home /
How To Remve All Friction
Lets say i have a player running along a wall, then he have friction to the wall how to remove this? I tryed with physics materials setting everyting to 0 with no success.
Answer by Peter G · May 23, 2011 at 02:56 AM
You have to do more than set the material to 0, you must also set the "Friction Combine Mode" to Minimum
Answer by ScottYann · Aug 02, 2013 at 08:37 PM
What you want to do is change the meshcollider's physics material like this:
GameObject.GetComponent ().material.staticFriction = 0;
There are other properties, along with other friction properties. Give it a try
Your answer
Follow this Question
Related Questions
Frictionless physics 3 Answers
Vehicle Colliders in different gravities 0 Answers
Problem adjusting friction on a surface 1 Answer
How can I get current lateral and longitudial friction forces from standart WheelColliders? 0 Answers
Friction in unity? 2 Answers