This version of Unity is unsupported.

Bone.TryGetRotation

Declaration

public bool TryGetRotation(out Quaternion rotation);

Parameters

rotation Quaternion to receive the rotation of the bone in Unity world space.

Returns

bool true if the rotation was retrieved, false otherwise.

Description

Gets the world rotation of the bone.