nanos world API Reference Unofficial documentation
Function Network authority Fast

Pawn:SetAIAvoidanceSettings

AI: Configures the RVO (Reciprocal Velocity Obstacles) Avoidance system used by the AIs when moving

Syntax

Lua
my_pawn:SetAIAvoidanceSettings(enabled, avoidance_consideration_radius = 300)

Parameters

Name Type Default Description
enabled boolean Whether to enable the RVO Avoidance
avoidance_consideration_radius optional integer 300 The radius of the circle used to determine the avoidance distance