The PhysicsLock struct in the Sandbox
namespace is used to control the locking of physics properties on an object. It allows you to specify which axes and rotations should be locked, preventing movement or rotation along those axes.
The PhysicsLock struct in the Sandbox
namespace is used to control the locking of physics properties on an object. It allows you to specify which axes and rotations should be locked, preventing movement or rotation along those axes.
Member Name | Summary |
---|---|
X | Indicates whether the X-axis is locked. |
Y | Indicates whether the Y-axis is locked. |
Z | Indicates whether the Z-axis is locked. |
Pitch | Indicates whether the pitch rotation is locked. |
Yaw | Indicates whether the yaw rotation is locked. |
Roll | Indicates whether the roll rotation is locked. |