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