center
The center of the wheel, measured in the object's local space.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.VehiclesModule
public Vector3 center { get; set; }
Remarks
The center of the wheel describes the coordinate that the wheel would achieve if the car was suspended in mid-air. This is equivalent to the coordinate of the wheel center when the spring is at maximum elongation.