SetDynamicFriction(int, float)
Set the value of the dynamic friction for a specified contact point in this contact pair.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.PhysicsModule
public void SetDynamicFriction(int i, float dynamicFriction)
Parameters
Remarks
Dynamic friction slows down bodies that are sliding over other bodies.
Normally, it is between 0 and 1.