The Roll
property of the PhysicsLock
struct in the Sandbox namespace is a boolean value that determines whether the roll rotation of a physics object is locked. When set to true
, the roll rotation is constrained, preventing the object from rotating around the roll axis. This can be useful in scenarios where you want to maintain a specific orientation or prevent unwanted rotations due to physics interactions.