RealDocs

UCharacterMovementComponent::GroupsToIgnore

property Engine Blueprint Since 4.0
#include "GameFramework/CharacterMovementComponent.h"
Access: public Specifiers: UPROPERTYEditAnywhereBlueprintReadOnlyAdvancedDisplay

Description

Mask of avoidance groups this character will not avoid, even if those groups also appear in GroupsToAvoid.

Caveats & Gotchas

  • Takes priority over GroupsToAvoid — membership here always wins if a group appears in both masks.
  • Use SetGroupsToIgnoreMask() to apply changes at runtime; direct property assignment does not re-register with the avoidance manager.
  • SetGroupsToIgnore(int32) is deprecated; prefer the FNavAvoidanceMask overload.

Signature

FNavAvoidanceMask GroupsToIgnore

Example

Ignore a specific group C++
GetCharacterMovement()->SetGroupsToIgnoreMask(FNavAvoidanceMask(1 << 1));

Version History

Introduced in: 4.0

Version Status Notes
5.6 stable

Feedback

Was this helpful?

Suggest an edit

Select a field above to begin editing.