contactDistance
Distance inside the limit value at which the limit will be considered to be active by the solver.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.PhysicsModule
public float contactDistance { get; set; }
Remarks
Setting this low can cause jittering, but runs fast. Setting high can deduce jittering, but runs the solver more often. (0 = use defaults)
For translational joints the unit is meters.
For rotational joints the unit is degrees.
Pipeline:
.
