Legacy Documentation: Version 5.0
Language: English
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

WheelCollider.GetWorldPose

Switch to Manual
public function GetWorldPose(out pos: Vector3, out quat: Quaternion): void;

Parameters

posPosition of the wheel in world space.
quatRotation of the wheel in world space.

Description

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