Documentation

Unity Engine


User Manual

Script Reference

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).
Read time 1 minuteLast updated 6 days ago

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.