player.rot

Description

Set or get the player's rotation.

Syntax

public rot: { x: number, y: number, z: number };

Real World Example

const currentRotation = player.rot;
player.rot = { x: 0, y: 0, z: 0 };

results matching ""

    No results matching ""