struct PhysicsLock

book_4_sparkGenerated
code_blocksInput

Description

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.

Members

Instance Properties

Member NameSummary
XGets or sets a value indicating whether the X-axis is locked.
YGets or sets a value indicating whether the Y-axis is locked.
ZGets or sets a value indicating whether the Z-axis is locked.
PitchGets or sets a value indicating whether the pitch rotation is locked.
YawGets or sets a value indicating whether the yaw rotation is locked.
RollGets or sets a value indicating whether the roll rotation is locked.