Disabling player movement
In order to block/disable the player movement we can use 2 methods from the Player class.
// Blocking the movement and rotation
Player.Get().BlockMoves();
Player.Get().BlockRotation();
// Unblocking the movement and rotation
Player.Get().UnblockMoves();
Player.Get().UnblockRotation();
Copy link