center
The center of the wheel, measured in the object's local space.
Read time 1 minuteLast updated 4 days ago
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.