Search Results for

    Show / Hide Table of Contents

    Struct NavAgentProperties

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

    Inherited Members
    ISerializable::Deserialize(DeserializeStream& stream, ISerializeModifier* modifier)
    ISerializable::DeserializeIfExists(DeserializeStream& stream, const char* memberName, ISerializeModifier* modifier)
    NavAgentProperties
    ISerializable::Serialize(SerializeStream& stream, const void* otherObj)
    NavAgentProperties
    NavAgentProperties
    ISerializable::~ISerializable()
    Assembly: FlaxEngine.dll
    File: Engine/Navigation/NavigationTypes.h
    Syntax
    public struct NavAgentProperties : public ISerializable

    Fields

    CrowdSeparationWeight

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

    Declaration
    public float CrowdSeparationWeight = 2.0f
    Field Value
    float

    Height

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

    Declaration
    public float Height = 144.0f
    Field Value
    float

    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
    public float MaxSlopeAngle = 60.0f
    Field Value
    float

    MaxSpeed

    The maximum movement speed (units/s).

    Declaration
    public float MaxSpeed = 500.0f
    Field Value
    float

    Radius

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

    Declaration
    public float Radius = 34.0f
    Field Value
    float

    StepHeight

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

    Declaration
    public float StepHeight = 35.0f
    Field Value
    float

    Methods

    operator!=(const NavAgentProperties& other)

    Declaration
    public bool operator!=(const NavAgentProperties& other) const
    Parameters
    NavAgentProperties other

    Returns
    bool

    operator==(const NavAgentProperties& other)

    Declaration
    public bool operator==(const NavAgentProperties& other) const
    Parameters
    NavAgentProperties other

    Returns
    bool

    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2012-2024 Wojciech Figat