struct PhysicsLock

robot_2Generated
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
XIndicates whether the X-axis is locked.
YIndicates whether the Y-axis is locked.
ZIndicates whether the Z-axis is locked.
PitchIndicates whether the pitch rotation is locked.
YawIndicates whether the yaw rotation is locked.
RollIndicates whether the roll rotation is locked.