Hierarchy.ToWorldDirection

static Vec3 ToWorldDirection(Vec3 localDirection)

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

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