Skip to content

Api > WheelCollider > GetWorldPose()


WheelCollider.GetWorldPose()⚓︎

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

Returns:⚓︎

type Description
Vector3 Position of the wheel in world space.
Quaternion Rotation of the wheel in world space.

Usage⚓︎

---@type WheelCollider
local wheelcollider;


local val0, val1 = wheelcollider.GetWorldPose()