EDOFMode::Type

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/PhysicsEngine/BodyInstance.h

Include

#include "PhysicsEngine/BodyInstance.h"

Syntax

namespace EDOFMode
{
    enum Type
    {
        Default,
        SixDOF,
        YZPlane,
        XZPlane,
        XYPlane,
        CustomPlane,
        None,
    }
}

Values

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss