contactDistance
Determines how far ahead in space the solver can "see" the joint limit.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.PhysicsModule
public float contactDistance { get; set; }
Remarks
Distance inside the limit value at which the limit will be considered to be active by the solver.
For translational joints the unit is meters.
For rotational joints the unit is degrees.
Setting this low can cause jittering, but might run faster.
Setting this high can reduce jittering, but might run slower. Jointed objects will still fall asleep correctly.
0 = use defaults
Pipeline:
.
