BaseItem.physics.restrict_rotation_axis method
restrict_rotation_axis(self, x: bool = ..., y: bool = ..., z: bool = ...) -> None:
Restricts this item's rotation to the defined rotation axes
Parameters
-
x: (optional) bool
-
y: (optional) bool
-
z: (optional) bool