ドキュメント

Unity Engine

Unity Engine

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.