Hierarchy.ToLocal

static Vec3 ToLocal(Vec3 worldPoint)

   
Vec3 worldPoint A point in world space.
RETURNS: Vec3 The provided point now in local hierarchy space!

Converts a world space point into the local space of the current Hierarchy stack!

static Quat ToLocal(Quat worldOrientation)

   
Quat worldOrientation A rotation in world space.
RETURNS: Quat The provided rotation now in local hierarchy space!

Converts a world space rotation into the local space of the current Hierarchy stack!