Skip to content

Local Vector Of

World vector, Relative player, Transformation

Description

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

Snippet

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

Properties

Returns: Vector Parameters: ==World Vector==, ==Relative Player==, ==Transformation==

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

==Relative Player== Type: Player, Default: Event Player The player to whom the resulting vector will be 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).

Type to search…

↑↓ navigate↵ selectEsc close