Disabling player movement
In order to block/disable the player movement we can use 2 methods from the Player class.
1
// Blocking the movement and rotation
2
Player.Get().BlockMoves();
3
Player.Get().BlockRotation();
4
5
// Unblocking the movement and rotation
6
Player.Get().UnblockMoves();
7
Player.Get().UnblockRotation();
Copied!
Last modified 1yr ago
Copy link