Api > Transform > TransformPoint()
Transform.TransformPoint(Vector3 position)⚓︎
Transforms position from local space to world space.
Parameters:⚓︎
Name | Type | Description |
---|---|---|
position | Vector3 | position |
Returns:⚓︎
type | Description |
---|---|
Vector3 | world space |
Usage⚓︎
---@type Transform
local transform;
---@type Vector3
local position;
local val0 = transform.TransformPoint(position)