unreal.OverlapFilterOption

class unreal.OverlapFilterOption

Bases: EnumBase

Specifies what types of objects to return from an overlap physics query warning: If you change this, change GetCollisionChannelFromOverlapFilter() to match

C++ Source:

  • Module: Engine

  • File: EngineTypes.h

OVERLAP_FILTER_ALL: OverlapFilterOption

Returns both overlaps with both dynamic and static components

Type:

0

OVERLAP_FILTER_DYNAMIC_ONLY: OverlapFilterOption

returns only overlaps with dynamic actors (far fewer results in practice, much more efficient)

Type:

1

OVERLAP_FILTER_STATIC_ONLY: OverlapFilterOption

returns only overlaps with static actors (fewer results, more efficient)

Type:

2