Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/PhysicsEngine/BodyInstance.h |
Include |
#include "PhysicsEngine/BodyInstance.h" |
namespace EDOFMode
{
enum Type
{
Default,
SixDOF,
YZPlane,
XZPlane,
XYPlane,
CustomPlane,
None,
}
}
Name |
Description |
---|---|
Default |
Inherits the degrees of freedom from the project settings. |
SixDOF |
Specifies which axis to freeze rotation and movement along. |
YZPlane |
Allows 2D movement along the Y-Z plane. |
XZPlane |
Allows 2D movement along the X-Z plane. |
XYPlane |
Allows 2D movement along the X-Y plane. |
CustomPlane |
Allows 2D movement along the plane of a given normal |
None |
No constraints. |