|
Infohazard.HyperNav 2.3.0
A pathfinding and avoidance solution for volumetric and omnidirectional navigation.
|
Interface for objects that both can be avoided and themselves avoid other obstacles using the avoidance system. More...
Public Member Functions | |
| void | UpdateAvoidanceVelocity (Vector3 newAvoidance) |
| Called by the system to update AvoidanceVelocity. More... | |
Properties | |
| float | AvoidanceWeight [get] |
| How much effort the agent will take to avoid obstacles and other agents. More... | |
| float | AvoidancePadding [get] |
| How much extra space to leave when avoiding obstacles. More... | |
| Vector3 | AvoidanceVelocity [get] |
| The velocity the agent should have in order to avoid collisions with obstacles and other agents. More... | |
| bool | IsActive [get] |
| Whether the agent should actively avoid obstacles. If false, will still behave as an obstacle. More... | |
| bool | DebugAvoidance [get] |
| Whether to draw debugging information in the scene view. More... | |
| TagMask | AvoidedTags [get] |
| Tags of objects that the agent will try to avoid. More... | |
Properties inherited from Infohazard.HyperNav.IAvoidanceObstacle | |
| Vector3 | Position [get] |
| World-space position of the object. More... | |
| Vector3 | InputVelocity [get] |
| The object's desired (or actual) velocity. More... | |
| float | MaxSpeed [get] |
| Maximum speed the object can travel at. More... | |
| float | Radius [get] |
| Radius of the object from its position. More... | |
| TagMask | TagMask [get] |
| Tag of the object for matching agents' IAvoidanceAgent.AvoidedTags. More... | |
Interface for objects that both can be avoided and themselves avoid other obstacles using the avoidance system.
| void Infohazard.HyperNav.IAvoidanceAgent.UpdateAvoidanceVelocity | ( | Vector3 | newAvoidance | ) |
Called by the system to update AvoidanceVelocity.
| newAvoidance | New avoidance velocity |
Implemented in Infohazard.HyperNav.AvoidanceAgent.
|
get |
How much extra space to leave when avoiding obstacles.
Implemented in Infohazard.HyperNav.AvoidanceAgent.
|
get |
The velocity the agent should have in order to avoid collisions with obstacles and other agents.
Implemented in Infohazard.HyperNav.AvoidanceAgent.
|
get |
How much effort the agent will take to avoid obstacles and other agents.
Implemented in Infohazard.HyperNav.AvoidanceAgent.
|
get |
Tags of objects that the agent will try to avoid.
Implemented in Infohazard.HyperNav.AvoidanceAgent.
|
get |
Whether to draw debugging information in the scene view.
Implemented in Infohazard.HyperNav.AvoidanceAgent.
|
get |
Whether the agent should actively avoid obstacles. If false, will still behave as an obstacle.
Implemented in Infohazard.HyperNav.AvoidanceAgent.