Workshop.codes
Create

World Vector Of Last updated November 26, 2024

Description

The vector in world coordinates corresponding to the provided vector in local coordinates.

Snippet

World Vector Of(Vector(0, 0, 0), Event Player, Rotation);

Properties

Returns: Vector
Parameters: Local Vector, Relative Player, Transformation

Local Vector
Type: Position, Default: Vector
The vector in local coordinates that will be converted to world coordinates.

Relative Player
Type: Player, Default: Event Player
The player to whom the local vector is relative.

Transformation
Type: Transform, Default: Rotation
Specifies whether the vector should receive a rotation and a translation (usually applied to positions) or only a rotation (usually applied to directions and velocities).

Workshop.codes