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

An IAvoidanceObstacle that gets its IAvoidanceObstacle.InputVelocity from a Rigidbody. More...

Public Member Functions

virtual void Reset ()
 Set _rigidbody. More...
 

Properties

Rigidbody Rigidbody [get, set]
 Rigidbody to get the velocity from. More...
 
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...
 

Private Attributes

Rigidbody _rigidbody
 (Serialized) Rigidbody to get the velocity from. More...
 

Additional Inherited Members

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

Detailed Description

An IAvoidanceObstacle that gets its IAvoidanceObstacle.InputVelocity from a Rigidbody.

Member Function Documentation

◆ Reset()

virtual void Infohazard.HyperNav.RigidbodyAvoidanceObstacle.Reset ( )
virtual

Set _rigidbody.

Member Data Documentation

◆ _rigidbody

Rigidbody Infohazard.HyperNav.RigidbodyAvoidanceObstacle._rigidbody
private

(Serialized) Rigidbody to get the velocity from.

Property Documentation

◆ InputVelocity

override Vector3 Infohazard.HyperNav.RigidbodyAvoidanceObstacle.InputVelocity
get

The object's desired (or actual) velocity.

Implements Infohazard.HyperNav.IAvoidanceObstacle.

◆ Rigidbody

Rigidbody Infohazard.HyperNav.RigidbodyAvoidanceObstacle.Rigidbody
getset

Rigidbody to get the velocity from.


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