Vector3.ToLocalSpace||doc136383

September 20, 2022

Format

Vector3.ToLocalSpace(targetNode, worldVec)

Describe

Converts a global vector to a local vector relative to an instance.

parameter

Variable name Type Describe
targetNode MovableNode Mobile instance
worldVec Vector3 Global vector

Return value

Type Describe
Vector3 3D vector type data