AIMFormationV computes an agent's position based on its order inside a V-shaped formation and the reference position or -object of the formation.
Front-end component of the underlying Move.FormationV class.
Public Fields | |
List< string > | FilteredEnvironments |
All environments to obtain the percepts for. More... | |
List< GameObject > | GameObjects |
Allows to specify custom objects which should be processed by this behaviour. More... | |
Protected Fields | |
WireSphereGizmo | innerRadiusGizmo = new WireSphereGizmo() |
Sets up the visualization of the inner radius (editor only). More... | |
WireSphereGizmo | outerRadiusGizmo = new WireSphereGizmo() |
Sets up the visualization of the outer radius (editor only). More... | |
WireSphereGizmo | arriveRadiusGizmo = new WireSphereGizmo() |
Sets up the visualization of the arrive radius (editor only). More... | |
CircleGizmo | innerCircleGizmo = new CircleGizmo() |
Sets up the visualization of the inner radius for planar sensor shapes (editor only). More... | |
CircleGizmo | outerCircleGizmo = new CircleGizmo() |
Sets up the visualization of the outer radius for planar sensor shapes (editor only). More... | |
CircleGizmo | arriveCircleGizmo = new CircleGizmo() |
Sets up the visualization of the arrive radius for planar sensor shapes (editor only). More... | |
VelocityGizmo | velocityGizmo = new VelocityGizmo() |
Sets up the visualization of the velocity (editor only). More... | |
Properties | |
override SteeringBehaviour | SteeringBehaviour [get] |
Polymorphic reference to the underlying back-end class Move.SteeringBehaviour (read only). More... | |
override Formation | Formation [get] |
Polymorphic reference to the underlying back-end class Move.Formation (read only). More... | |
FormationV | FormationV [get, set] |
Reference to the underlying back-end class Move.Formation (read only). More... | |
override bool | ThreadSafe [get] |
Determines whether the underlying back-end class is thread-safe (read only). More... | |
GameObject | TargetObject [get, set] |
The target game object used by the agent as reference for the formation. More... | |
Vector3 | TargetPosition [get, set] |
The target position used by the agent as reference, therefore, the TargetObject must be null . More... | |
string | TargetTag [get, set] |
The target tag to get the TargetObject by its tag, therefore, the targetObject must be null . More... | |
override PerceptBehaviour< SteeringPercept > | PerceptBehaviour [get] |
Polymorphic reference to the underlying back-end class (read only). More... | |
override MoveBehaviour | Behaviour [get] |
Polymorphic reference to the underlying back-end class (read only). More... | |
Public Methods | |
override void | PrepareEvaluation () |
When AIMSteeringBehaviour.PrepareEvaluation is called, this method is used in order to transfer the data from TargetObject or TargetPosition to AIMPerceptBehaviour<T>.GameObjects. More... | |
Protected Methods | |
override void | OnDrawGizmos () |
Visualizes the boundary of the formation based on its size. More... | |
override void | OnValidate () |
This function is called when the script is loaded or a value is changed in the inspector (editor only). More... | |
override void | OnEnable () |
This method is called when the object becomes enabled and active. More... | |