getLocalRotation

fun getLocalRotation(worldRotation: Rotation): Float3

Converts a rotation in the world-space to a local-space of this node.

Return

a new rotation that represents the world rotation in local-space.

Parameters

worldRotation

the rotation in world-space to convert.