Class RigidbodyConstraints
Dynamic rigidbodies movement and rotation locking flags. Provide a mechanism to lock motion along/around a specific axis or set of axes to constrain object motion.
Inheritance
System.Object
RigidbodyConstraints
Namespace: FlaxEngine
Assembly: FlaxEngine.CSharp.dll
Syntax
[Unmanaged]
public sealed class RigidbodyConstraints : Enum
Fields
LockAll
Freeze rotation and motion along all axes.
Declaration
public const RigidbodyConstraints LockAll
Field Value
RigidbodyConstraints
|
LockPosition
Freeze motion along all axes.
Declaration
public const RigidbodyConstraints LockPosition
Field Value
RigidbodyConstraints
|
LockPositionX
Freeze motion along the X-axis.
Declaration
public const RigidbodyConstraints LockPositionX
Field Value
RigidbodyConstraints
|
LockPositionY
Freeze motion along the Y-axis.
Declaration
public const RigidbodyConstraints LockPositionY
Field Value
RigidbodyConstraints
|
LockPositionZ
Freeze motion along the Z-axis.
Declaration
public const RigidbodyConstraints LockPositionZ
Field Value
RigidbodyConstraints
|
LockRotation
Freeze rotation along all axes.
Declaration
public const RigidbodyConstraints LockRotation
Field Value
RigidbodyConstraints
|
LockRotationX
Freeze rotation along the X-axis.
Declaration
public const RigidbodyConstraints LockRotationX
Field Value
RigidbodyConstraints
|
LockRotationY
Freeze rotation along the Y-axis.
Declaration
public const RigidbodyConstraints LockRotationY
Field Value
RigidbodyConstraints
|
LockRotationZ
Freeze rotation along the Z-axis.
Declaration
public const RigidbodyConstraints LockRotationZ
Field Value
RigidbodyConstraints
|
None
value__
Declaration
public int value__
Field Value
System.Int32
|