suspensionDistance
Maximum extension distance of wheel suspension, measured in local space.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.VehiclesModule
public float suspensionDistance { get; set; }
Remarks
Suspension always extends downwards the local y-axis. Suspension travel will be scaled by the transform's scale. The value is the distance that the wheel travels as it moves along the local up vector of the rigid body from the coordinate of the wheel center at maximum spring elongation to the coordinateof the wheel center at maximum spring compression. It is expressed in metres. The range of suspension travel will be scaled by the transform's scale.
suspensionDistance