RealDocs

UCharacterMovementComponent::AvoidanceConsiderationRadius

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

Description

Radius around the character used by the RVO avoidance system to decide which nearby agents to consider when steering around them.

Caveats & Gotchas

  • Only affects RVO/simple avoidance driven through UAvoidanceManager — it has no effect if the character isn't registered for avoidance.
  • Larger radii make the character react to obstacles earlier but increase the CPU cost of the avoidance solver since more neighbors are considered.
  • Measured in centimeters, like other engine distances (meta = ForceUnits=cm).

Signature

float AvoidanceConsiderationRadius

Example

Widen the avoidance sensing radius C++
GetCharacterMovement()->AvoidanceConsiderationRadius = 500.f;

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.