Infohazard.HyperNav 1.1.5
3D Navigation for Flying Characters
Loading...
Searching...
No Matches
Infohazard.HyperNav.SimpleAvoidanceObstacle Class Reference

An IAvoidanceObstacle that gets its IAvoidanceObstacle.InputVelocity by measuring its position/time delta. More...

Protected Member Functions

override void OnEnable ()
 Resets desired velocity and adds self to list of all obstacles. More...
 
virtual void LateUpdate ()
 Update computed velocity. More...
 
- Protected Member Functions inherited from Infohazard.HyperNav.AvoidanceObstacleBase
virtual void OnEnable ()
 Resets desired velocity and adds self to list of all obstacles. More...
 
virtual void OnDisable ()
 Removes self from list of all obstacles. More...
 

Properties

override Vector3 InputVelocity [get]
 The object's desired (or actual) velocity. More...
 
- Properties inherited from Infohazard.HyperNav.AvoidanceObstacleBase
virtual float MaxSpeed [get, set]
 Maximum speed the object can travel at. More...
 
virtual float Radius [get, set]
 Radius of the object from its position. More...
 
virtual Vector3 Position [get]
 World-space position of the object. More...
 
virtual Vector3 InputVelocity [get]
 The object's desired (or actual) velocity. More...
 
TagMask TagMask [get, private set]
 Tag of the object for matching agents' IAvoidanceAgent.AvoidedTags. 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

An IAvoidanceObstacle that gets its IAvoidanceObstacle.InputVelocity by measuring its position/time delta.

Member Function Documentation

◆ LateUpdate()

virtual void Infohazard.HyperNav.SimpleAvoidanceObstacle.LateUpdate ( )
protectedvirtual

Update computed velocity.

◆ OnEnable()

override void Infohazard.HyperNav.SimpleAvoidanceObstacle.OnEnable ( )
protectedvirtual

Resets desired velocity and adds self to list of all obstacles.

Reimplemented from Infohazard.HyperNav.AvoidanceObstacleBase.

Property Documentation

◆ InputVelocity

override Vector3 Infohazard.HyperNav.SimpleAvoidanceObstacle.InputVelocity
get

The object's desired (or actual) velocity.

Implements Infohazard.HyperNav.IAvoidanceObstacle.


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