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.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback