PhysicMaterial.staticFrictionvar staticFriction : floatDescriptionThe friction used when an object is lying on a surface. Usually a value from 0 to 1. A value of 0 feels like ice, 1 feels like rubber.
JavaScript
collider.staticFriction = 1; using UnityEngine; import UnityEngine |
