Workshop.codes
Create

Vertical Angle Towards Last updated November 26, 2024

Description

The vertical angle in degrees from a player's current forward direction to the specified position. The result is positive if the position is below the player. Otherwise, the result is zero or negative.

Snippet

Vertical Angle Towards(Event Player, Vector(0, 0, 0));

Properties

Returns: Float
Parameters: Player, Position

Player
Type: Player, Default: Event Player
The player from whose current facing the angle begins.

Position
Type: Position, Default: Vector
The position in the world where the angle ends.

Workshop.codes