lockRotation.tool
This package holds more than this page lists. See all of its files in its world.
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.