Navigation
API > API/Runtime > API/Runtime/Engine
| |
|
| Name |
EDOFMode::Type |
| Type |
enum |
| Header File |
/Engine/Source/Runtime/Engine/Classes/PhysicsEngine/BodyInstance.h |
| Include Path |
#include "PhysicsEngine/BodyInstance.h" |
Syntax
namespace EDOFMode
{
enum Type
{
Default,
SixDOF,
YZPlane,
XZPlane,
XYPlane,
CustomPlane,
None,
}
}
Values
| Name |
Remarks |
| 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. |