Hierarchy.ToLocalDirection

static Vec3 ToLocalDirection(Vec3 worldDirection)

Converts a world space direction into the local space of the current Hierarchy stack! This excludes the translation component normally applied to vectors, so it’s still a valid direction.

   
Vec3 worldDirection A direction in world space.
RETURNS: Vec3 The provided direction now in local hierarchy space!




Found an issue with these docs, or have some additional questions? Create an Issue on Github!