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 | Gets or sets a value indicating whether the X-axis is locked. |
Y | Gets or sets a value indicating whether the Y-axis is locked. |
Z | Gets or sets a value indicating whether the Z-axis is locked. |
Pitch | Gets or sets a value indicating whether the pitch rotation is locked. |
Yaw | Gets or sets a value indicating whether the yaw rotation is locked. |
Roll | Gets or sets a value indicating whether the roll rotation is locked. |