Skip to main content

Transform.InverseTransformVector(Vector3 vector)

Transforms a vector from world space to local space. The opposite of Transform.TransformVector.

Parameters:

NameTypeDescription
vectorVector3vector

Returns:

typeDescription
Vector3local space

Usage

---@type Transform
local transform;

---@type Vector3
local vector;


local val0 = transform.InverseTransformVector(vector)