• Articles
  • Api Documentation
Show / Hide Table of Contents
  • AlchemyBow.Navigation
    • AlchemyNavigationSystem
    • BasicAgent
    • FacesHolder
    • NavigationAct
    • NavigationFaceWrapper
    • NavigationInfo
    • PathfindingRequest
    • PathfindingRequest.PathType
    • PathfindingRequest.Status
  • AlchemyBow.Navigation.BackgroundProcessing
    • BackgroundProcessor
    • BackgroundProcessor.States
    • BuildingProcess
    • IBackgroundCommand
    • PathfindingProcess
    • RegisterFaceCommand
    • UnregisterFaceCommand
  • AlchemyBow.Navigation.Collections
    • OrderedSet<T>
    • OrderedSetNode<T>
    • OrderedSetRangeComparer<T>
  • AlchemyBow.Navigation.DebugUnits
    • AlchemyNavigationSystemDebugUnit
    • CompositeSurfaceDrawer
    • GizmosSurfaceDrawer
    • ISurfaceDrawer
    • MinimalGizmosSurfaceDrawer
  • AlchemyBow.Navigation.HighLevel
    • MeshBasedBake
    • MeshBasedBakeGroup
    • MeshBasedBakeSettings
    • WorldMesh
  • AlchemyBow.Navigation.PropertyAttributes
    • AreaIndexAttribute
    • AreaMaskAttribute
    • LayerIndexAttribute
  • AlchemyBow.Navigation.Settings
    • AlchemyNavigationSettingsPreset
    • NavigationAreaSettings
    • NavigationLayerSettings
    • NavigationSettings
  • AlchemyBow.Navigation.Simple
    • SimpleAgent
  • AlchemyBow.Navigation.Simple.Elements
    • AvoidanceGroup
    • AvoidanceModifier
    • CachedFace
    • ISteeredBehaviour
    • MovementModifier
    • PathProgress
  • AlchemyBow.Navigation.Surfaces
    • Edge
    • Face
    • FacesByMagnitudeRangeComparer
    • NavigationSurface
    • SurfaceRaycastHit
    • Usage<TUser>
    • UsageTrackingObject<TUser>
    • Vertex
    • VertexByPositionComparer
  • AlchemyBow.Navigation.Surfaces.SafeAccess
    • IImmutableFace
    • SurfaceImmutableRaycastHit
  • AlchemyBow.Navigation.Utilities
    • ChannelUnwrapper
    • FaceAStar
    • FaceStarUnit
    • Funnel
    • ICommand

Class AvoidanceGroup

A SctiptableObject that represents the avoidance group.

Inheritance
System.Object
UnityEngine.Object
UnityEngine.ScriptableObject
AvoidanceGroup
Namespace: AlchemyBow.Navigation.Simple.Elements
Assembly: AlchemyBow.Navigation.dll
Syntax
[CreateAssetMenu(fileName = "AvoidanceGroup", menuName = "AlchemyBow/Navigation/AvoidanceGroup")]
public sealed class AvoidanceGroup : ScriptableObject

Methods

| Improve this Doc View Source

AddToGruop(AvoidanceModifier)

Adds the agent to the group.

Declaration
public void AddToGruop(AvoidanceModifier agent)
Parameters
Type Name Description
AvoidanceModifier agent

An agent to add.

| Improve this Doc View Source

CalculateAvoidanceDirection(AvoidanceModifier)

Calculates the avoidance acceleration direction for the agent.

Declaration
public Vector3 CalculateAvoidanceDirection(AvoidanceModifier agent)
Parameters
Type Name Description
AvoidanceModifier agent

The agent to the avoidance acceleration direction.

Returns
Type Description
UnityEngine.Vector3

The avoidance acceleration direction for the agent.

| Improve this Doc View Source

RemoveFromGroup(AvoidanceModifier)

Removes the agent from the group.

Declaration
public void RemoveFromGroup(AvoidanceModifier agent)
Parameters
Type Name Description
AvoidanceModifier agent

An agent to remove.

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX