Struct AgentSeparation
Agent separation from nearby agents.
Implements
IComponentData
IQueryTypeParameter
IEnableableComponent
Inherited Members
Namespace: ProjectDawn.Navigation
Assembly: ProjectDawn.Navigation.dll
Syntax
public struct AgentSeparation : IComponentData, IQueryTypeParameter, IEnableableComponent
Fields
| Improve this Doc View SourceLayers
Agent separation from nearby agents.
Declaration
public NavigationLayers Layers
Field Value
Type | Description |
---|---|
NavigationLayers |
Radius
Radius at which agent will attempt separate from each other.
Declaration
public float Radius
Field Value
Type | Description |
---|---|
float |
Weight
The weight of the separation force.
Declaration
public float Weight
Field Value
Type | Description |
---|---|
float |
Properties
| Improve this Doc View SourceDefault
Returns default configuration.
Declaration
public static AgentSeparation Default { get; }
Property Value
Type | Description |
---|---|
AgentSeparation |
Implements
Unity.Entities.IComponentData
Unity.Entities.IQueryTypeParameter
Unity.Entities.IEnableableComponent