Polarith AI
1.7
AIMSteeringTag Class Reference

Description

This component might be used to complete extracted SteeringPercept data with customizable information.

If attached to a GameObject which should be perceived by the movement AI, the extracted SteeringPercept for this GameObject hold additional data given through the AIMSteeringTag. Without this tag, SteeringPercept.Receive(GameObject) is only extracting information which might be there by default, e.g. an object's position, rotation, collider data and so forth. So one use of this component is to obtain a velocity for GameObject instances which does not have got any rigidbody components. Furthermore, with the help of the Values list, you can inject arbitrary float information into the corresponding extracted percept.

There can only be one AIMSteeringTag component attached to a GameObject at a time.

Inheritance diagram for AIMSteeringTag:

Public Fields

string Label
 Custom identifier of this object. More...
 
float Significance = 1f
 Specifies the importance of the object for a behaviour algorithm, for instance a AIMSteeringBehaviour. More...
 
float Radius = 0.0f
 Specifies a custom radius for this object. More...
 
List< float > Values = new List<float>()
 Injects custom information into the corresponding extracted percept. More...
 
bool TrackVelocity
 Determines if the velocity of this object should be tracked. More...
 
bool UpdateLocalBounds
 Determines if the perception pipeline should obtain the local bounds for this object for each percept update. More...
 
bool IgnoreLocalBounds
 If true, the perception pipeline will NOT obtain the local OOB for this object. More...
 
Vector3 Velocity
 Holds the current velocity if it should be tracked. More...
 
Imprint