update comment in DtCrowdAgentParams

This commit is contained in:
ikpil 2024-07-08 14:01:28 +09:00
parent 31b7eaf9a3
commit b34b17e89c
1 changed files with 6 additions and 14 deletions

View File

@ -24,24 +24,16 @@ namespace DotRecast.Detour.Crowd
/// @ingroup crowd /// @ingroup crowd
public class DtCrowdAgentParams public class DtCrowdAgentParams
{ {
/// < Agent radius. [Limit: >= 0] public float radius; // < Agent radius. [Limit: >= 0]
public float radius; 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] /// Defines how close a collision element must be before it is considered for steering behaviors. [Limits: > 0]
public float collisionQueryRange; public float collisionQueryRange;
/// < The path visibility optimization range. [Limit: > 0] public float pathOptimizationRange; // < The path visibility optimization range. [Limit: > 0]
public float pathOptimizationRange;
/// How aggresive the agent manager should be at avoiding collisions with this agent. [Limit: >= 0] /// How aggresive the agent manager should be at avoiding collisions with this agent. [Limit: >= 0]
public float separationWeight; public float separationWeight;