EHasCustomNavigableGeometry::Type

Determines if a primitive component contains custom collision for navigation/AI

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Components/PrimitiveComponent.h

Include

#include "Components/PrimitiveComponent.h"

Syntax

namespace EHasCustomNavigableGeometry
{
    enum Type
    {
        No,
        Yes,
        EvenIfNotCollidable,
        DontExport,
    }
}

Values

Name

Description

No

Primitive doesn't have custom navigation geometry, if collision is enabled then its convex/trimesh collision will be used for generating the navmesh

Yes

If primitive would normally affect navmesh, DoCustomNavigableGeometryExport() should be called to export this primitive's navigable geometry

EvenIfNotCollidable

DoCustomNavigableGeometryExport() should be called even if the mesh is non-collidable and wouldn't normally affect the navmesh

DontExport

Don't export navigable geometry even if primitive is relevant for navigation (can still add modifiers)

Remarks

Determines if a primitive component contains custom collision for navigation/AI

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