- Home /
What is the appropriate value of Friction Direction 2?
I am creating a wheel physics material. From this post I gather that this feature specifies the "sideways friction." But I am somewhat confused as x, y and z value can be changed between 0 ... n If the wheel is only 1 unity wide, do 1 enter in 1 for the x value of Friction Direction 2?
Answer by talklittle · Jul 11, 2013 at 05:17 AM
You're on the right track after reading that post you linked to.
FrictionDirection2 is a Vector3 specifying the direction of that "sideways friction." That is, you're telling Unity which direction is "sideways." You can set the value to some direction and (I assume) Unity will internally normalize the vector to a unit vector. So if you set FrictionDirection2.X to 1.0 or 9999.0 it won't make a difference as long as your Y and Z are scaled accordingly.
DynamicFriction2 and StaticFriction2 specify the magnitude of the friction.
@talklittle Thanks. I tried values of x = 1 and x = 10,000. I also assume that Unity normalises it. Thanks for your answer!
Your answer
Follow this Question
Related Questions
Angular Friction 0 Answers
How can I change friction of a Physic material in script? 1 Answer
Forklift pallet physics 3 Answers
Apply physics material to a third person character? 0 Answers