Skip to main content

Transform.TransformDirection(Vector3 direction)

Transforms direction from local space to world space.

Parameters:

NameTypeDescription
directionVector3direction

Returns:

typeDescription
Vector3world space.

Usage

---@type Transform
local transform;

---@type Vector3
local direction;


local val0 = transform.TransformDirection(direction)