ECollisionEnabled::Type

Enum used to describe what type of collision is enabled on a body.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/EngineTypes.h

Include

#include "Engine/EngineTypes.h"

Syntax

namespace ECollisionEnabled
{
    enum Type
    {
        NoCollision,
        QueryOnly,
        PhysicsOnly,
        QueryAndPhysics,
    }
}

Values

Name

Description

NoCollision

Will not create any representation in the physics engine.

QueryOnly

Only used for spatial queries (raycasts, sweeps, and overlaps).

PhysicsOnly

Only used only for physics simulation (rigid body, constraints).

QueryAndPhysics

Can be used for both spatial queries (raycasts, sweeps, overlaps) and simulation (rigid body, constraints).

Remarks

Enum used to describe what type of collision is enabled on a body.

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