- Home /
Question by
diddykonga · Mar 09, 2013 at 02:26 AM ·
physicsfrictionphysics material
Physics Material Returning Wrong Friction Value
Debug.Log(groundPoint.otherCollider.material.staticFriction);
velocity *= groundPoint.otherCollider.material.staticFriction;
groundPoint is a variable that is set in OnCollisionStay and for some reason is returning the wrong friction value.
No matter which friction i choose, dynamic or static, no matter what value i put it to in the inspector, it will always return 0.4.
Anyone know how to fix this? Thank you!
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613094101im_/https://answers.unity.com/themes/thub/images/avi.jpg)