player.rot

Description

Set or get the player's rotation.

Syntax

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

Example Usage

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

results matching ""

    No results matching ""