RigidbodyConstraints
csharp
public enum RigidbodyConstraintsNamespace NodeWorld.Flux.
What the physics may not move or turn on a rigidbody (Rigidbody.constraints); combine them with the | operator.
Values
None
csharp
None = 0No constraint.
FreezePositionX
csharp
FreezePositionX = 2No move along x.
FreezePositionY
csharp
FreezePositionY = 4No move along y.
FreezePositionZ
csharp
FreezePositionZ = 8No move along z.
FreezeRotationX
csharp
FreezeRotationX = 16No turn around x.
FreezeRotationY
csharp
FreezeRotationY = 32No turn around y.
FreezeRotationZ
csharp
FreezeRotationZ = 64No turn around z.
FreezePosition
csharp
FreezePosition = 14No move at all.
FreezeRotation
csharp
FreezeRotation = 112No turn at all.
FreezeAll
csharp
FreezeAll = 126No move and no turn.
