Log inGet started
World

Builtin Library

Branchmain
Branchesmainpublish
Commit3bb1da2647

README.md

phys.lockRotation

Lock an entity's rigid body against rotating around chosen axes. Each axis flag is independent, so locking X and Z lets the body spin only around Y. Useful for top-down characters, hinged doors, and constrained vehicles. Returns the entity ID.