文档

Unity Engine

Unity Engine

GetWorldPose(out Vector3, out Quaternion)

Gets the world space pose of the wheel accounting for ground contact, suspension limits, steer angle, and rotation angle (angles in degrees).
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.VehiclesModule

GetWorldPose(Vector3, Quaternion)

public void GetWorldPose(out Vector3 pos, out Quaternion quat)

Parameters

Position of the wheel in world space.

Rotation of the wheel in world space.