Infohazard.HyperNav 1.1.5
3D Navigation for Flying Characters
|
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... | |
An IAvoidanceObstacle that gets its IAvoidanceObstacle.InputVelocity from a Rigidbody.
|
virtual |
Set _rigidbody.
|
private |
(Serialized) Rigidbody to get the velocity from.
|
get |
The object's desired (or actual) velocity.
Implements Infohazard.HyperNav.IAvoidanceObstacle.
|
getset |
Rigidbody to get the velocity from.