NPC steering tweaks (#17911)
- Slightly less twitchy in melee. - Resteer less. - More aggressive in pursuing running away targets.
This commit is contained in:
@@ -382,7 +382,7 @@ public sealed partial class NPCSteeringSystem
|
||||
TransformComponent xform,
|
||||
float[] danger)
|
||||
{
|
||||
var objectRadius = 0.15f;
|
||||
var objectRadius = 0.10f;
|
||||
var detectionRadius = MathF.Max(0.35f, agentRadius + objectRadius);
|
||||
|
||||
foreach (var ent in _lookup.GetEntitiesInRange(uid, detectionRadius, LookupFlags.Static))
|
||||
|
||||
Reference in New Issue
Block a user