Set boot lock body rotation||doc135761

September 20, 2022

Format

 GameSettings:setLockBodyRotation(value) 

Description

Sets whether to lock the player's body to rotate with the camera.


Parameters

Variable name type Description
value boolean Is it locked


Code Samples

Blockman.Instance().gameSettings:setLockBodyRotation(true)
print(Blockman.Instance().gameSettings:isLockBodyRotation())