Workshop.codes
Create

Start Facing Last updated November 26, 2024

Description

Starts turning one or more players to face the specified direction.

Snippet

Start Facing(Event Player, Vector(0, 0, 0), 0, To World, Direction And Turn Rate);

Properties

Returns: Void
Parameters: Player, Direction, Turn Rate, Relative, Reevaluation

Player
Type: Player | Array (Player), Default: Event Player
The player or players who will start turning.

Direction
Type: Direction, Default: Vector
The unit direction in which the player or players will eventually face. This value is normalized internally.

Turn Rate
Type: Float, Default: Number
The turn rate in degrees per second.

Relative
Type: Relativity, Default: To World
Specifies whether direction is relative to world coordinates or the local coordinates of the player or players.

Reevaluation
Type: Facing Reevaluation, Default: Direction And Turn Rate
Specifies which of this action's inputs will be continuously reevaluated. This action will keep asking for and using new values from reevaluated inputs.

Workshop.codes