Infohazard.HyperNav 1.1.5
3D Navigation for Flying Characters
Loading...
Searching...
No Matches
Infohazard.HyperNav.IAvoidanceAgent Interface Reference

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...
 

Detailed Description

Interface for objects that both can be avoided and themselves avoid other obstacles using the avoidance system.

Member Function Documentation

◆ UpdateAvoidanceVelocity()

void Infohazard.HyperNav.IAvoidanceAgent.UpdateAvoidanceVelocity ( Vector3  newAvoidance)

Called by the system to update AvoidanceVelocity.

Parameters
newAvoidanceNew avoidance velocity

Implemented in Infohazard.HyperNav.AvoidanceAgent.

Property Documentation

◆ AvoidancePadding

float Infohazard.HyperNav.IAvoidanceAgent.AvoidancePadding
get

How much extra space to leave when avoiding obstacles.

Implemented in Infohazard.HyperNav.AvoidanceAgent.

◆ AvoidanceVelocity

Vector3 Infohazard.HyperNav.IAvoidanceAgent.AvoidanceVelocity
get

The velocity the agent should have in order to avoid collisions with obstacles and other agents.

Implemented in Infohazard.HyperNav.AvoidanceAgent.

◆ AvoidanceWeight

float Infohazard.HyperNav.IAvoidanceAgent.AvoidanceWeight
get

How much effort the agent will take to avoid obstacles and other agents.

Implemented in Infohazard.HyperNav.AvoidanceAgent.

◆ AvoidedTags

TagMask Infohazard.HyperNav.IAvoidanceAgent.AvoidedTags
get

Tags of objects that the agent will try to avoid.

Implemented in Infohazard.HyperNav.AvoidanceAgent.

◆ DebugAvoidance

bool Infohazard.HyperNav.IAvoidanceAgent.DebugAvoidance
get

Whether to draw debugging information in the scene view.

Implemented in Infohazard.HyperNav.AvoidanceAgent.

◆ IsActive

bool Infohazard.HyperNav.IAvoidanceAgent.IsActive
get

Whether the agent should actively avoid obstacles. If false, will still behave as an obstacle.

Implemented in Infohazard.HyperNav.AvoidanceAgent.


The documentation for this interface was generated from the following file: