Search Results for

    Show / Hide Table of Contents

    Class NavAgentProperties

    The navigation system agent properties container for navmesh building and querying.

    Inheritance
    System.Object
    NavAgentProperties
    Namespace: FlaxEngine
    Assembly: FlaxEngine.CSharp.dll
    Syntax
    [Unmanaged]
    public sealed class NavAgentProperties : ValueType

    Fields

    CrowdSeparationWeight

    The crowd agent separation weight that defines how aggressive the agent manager should be at avoiding collisions with this agent.

    Declaration
    [EditorOrder(100)]
    public float CrowdSeparationWeight
    Field Value
    System.Single

    Height

    The height of the agent used for navigation. Agents can't enter areas with ceilings lower than this value.

    Declaration
    [EditorOrder(10)]
    public float Height
    Field Value
    System.Single

    MaxSlopeAngle

    The maximum slope (in degrees) that is considered walkable for navigation. Agents can't go up or down slopes higher than this value.

    Declaration
    [EditorOrder(30)]
    public float MaxSlopeAngle
    Field Value
    System.Single

    MaxSpeed

    The maximum movement speed (units/s).

    Declaration
    [EditorOrder(40)]
    public float MaxSpeed
    Field Value
    System.Single

    Radius

    The radius of the agent used for navigation. Agents can't pass through gaps of less than twice the radius.

    Declaration
    [EditorOrder(0)]
    public float Radius
    Field Value
    System.Single

    StepHeight

    The step height used for navigation. Defines the maximum ledge height that is considered to still be traversable by the agent.

    Declaration
    [EditorOrder(20)]
    public float StepHeight
    Field Value
    System.Single

    Properties

    Default

    The default NavAgentProperties.

    Declaration
    public static NavAgentProperties Default { get; }
    Property Value
    NavAgentProperties

    Methods

    ToString()

    Declaration
    public override string ToString()
    Returns
    System.String

    Extension Methods

    Extensions.ReflectiveCompare<T>(T, T)
    Extensions.RawClone<T>(T)
    In This Article
    Back to top Copyright © 2012-2024 Wojciech Figat