Game Development Reference
In-Depth Information
Target radius
A target radius is a number value that agents use to determine whether they are close
enough to their target without having to be exactly at the target position. This fudge factor
helps agents avoid circling a target position due to small numerical differences in their pos-
ition and target position.
local targetRadius = agent:GetTargetRadius();
agent:SetTargetRadius(targetRadius );
Search WWH ::




Custom Search