From b34b17e89cd136367a019c535cc8665b7aad8167 Mon Sep 17 00:00:00 2001 From: ikpil Date: Mon, 8 Jul 2024 14:01:28 +0900 Subject: [PATCH] update comment in DtCrowdAgentParams --- .../DtCrowdAgentParams.cs | 20 ++++++------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/src/DotRecast.Detour.Crowd/DtCrowdAgentParams.cs b/src/DotRecast.Detour.Crowd/DtCrowdAgentParams.cs index 174f164..d130bbd 100644 --- a/src/DotRecast.Detour.Crowd/DtCrowdAgentParams.cs +++ b/src/DotRecast.Detour.Crowd/DtCrowdAgentParams.cs @@ -24,24 +24,16 @@ namespace DotRecast.Detour.Crowd /// @ingroup crowd public class DtCrowdAgentParams { - /// < Agent radius. [Limit: >= 0] - public float radius; + public float radius; // < Agent radius. [Limit: >= 0] + public float height; // < Agent height. [Limit: > 0] + public float maxAcceleration; // < Maximum allowed acceleration. [Limit: >= 0] + public float maxSpeed; // < Maximum allowed speed. [Limit: >= 0] - /// < Agent height. [Limit: > 0] - public float height; - - /// < Maximum allowed acceleration. [Limit: >= 0] - public float maxAcceleration; - - /// < Maximum allowed speed. [Limit: >= 0] - public float maxSpeed; - /// Defines how close a collision element must be before it is considered for steering behaviors. [Limits: > 0] public float collisionQueryRange; - /// < The path visibility optimization range. [Limit: > 0] - public float pathOptimizationRange; - + public float pathOptimizationRange; // < The path visibility optimization range. [Limit: > 0] + /// How aggresive the agent manager should be at avoiding collisions with this agent. [Limit: >= 0] public float separationWeight;