Skip to main content

Transform.InverseTransformPoint(Vector3 position)

Transforms position from world space to local space.

Parameters:

NameTypeDescription
positionVector3position

Returns:

typeDescription
Vector3local space.

Usage

---@type Transform
local transform;

---@type Vector3
local position;


local val0 = transform.InverseTransformPoint(position)