Skip to content

Api > Transform > TransformDirection()


Transform.TransformDirection(Vector3 direction)⚓︎

Transforms direction from local space to world space.

Parameters:⚓︎

Name Type Description
direction Vector3 direction

Returns:⚓︎

type Description
Vector3 world space.

Usage⚓︎

---@type Transform
local transform;

---@type Vector3
local direction;


local val0 = transform.TransformDirection(direction)