Skip to main content

WheelCollider.GetWorldPose()

Gets the world space pose of the wheel accounting for ground contact, suspension limits, steer angle, and rotation angle.

Returns:

typeDescription
Vector3Position of the wheel in world space.
QuaternionRotation of the wheel in world space.

Usage

---@type WheelCollider
local wheelcollider;


local val0, val1 = wheelcollider.GetWorldPose()