Hierarchy.ToWorldDirection
static Vec3 ToWorldDirection(Vec3 localDirection)
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.
Vec3 localDirection | A direction in local space. |
RETURNS: Vec3 | The provided direction now in world space! |
Found an issue with these docs, or have some additional questions? Create an Issue on Github!