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
LockPosition
Freeze motion along all axes.
Declaration
public const RigidbodyConstraints LockPosition
Field Value
LockPositionX
Freeze motion along the X-axis.
Declaration
public const RigidbodyConstraints LockPositionX
Field Value
LockPositionY
Freeze motion along the Y-axis.
Declaration
public const RigidbodyConstraints LockPositionY
Field Value
LockPositionZ
Freeze motion along the Z-axis.
Declaration
public const RigidbodyConstraints LockPositionZ
Field Value
LockRotation
Freeze rotation along all axes.
Declaration
public const RigidbodyConstraints LockRotation
Field Value
LockRotationX
Freeze rotation along the X-axis.
Declaration
public const RigidbodyConstraints LockRotationX
Field Value
LockRotationY
Freeze rotation along the Y-axis.
Declaration
public const RigidbodyConstraints LockRotationY
Field Value
LockRotationZ
Freeze rotation along the Z-axis.
Declaration
public const RigidbodyConstraints LockRotationZ
Field Value
None
value__
Declaration
public int value__
Field Value
System.
|