AIMArrive is used in order to modify the velocity of an agent if it reaches a target (front-end component).
Front-end component of the underlying Move.Arrive class. This behaviour is thread-safe.
Public Fields | |
GameObject | Target |
The target game object used by the agent to adapt its velocity for. More... | |
Vector3 | TargetPosition |
The target position used by the agent to move towards, therefore, the Target must be null . More... | |
Arrive | Arrive = new Arrive() |
The underlying back-end behaviour class. More... | |
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... | |
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... | |
VelocityGizmo | velocityGizmo = new VelocityGizmo() |
Sets up the visualization of the velocity (editor only). More... | |
Properties | |
override RadiusSteeringBehaviour | RadiusSteeringBehaviour [get] |
Polymorphic reference to the underlying back-end class (read only). More... | |
override bool | ThreadSafe [get] |
Determines whether the underlying back-end class is thread-safe (read only). More... | |
override SteeringBehaviour | SteeringBehaviour [get] |
Polymorphic reference to the underlying back-end class (read only). 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 () |
This method is used in order to transfer the data from Target to AIMPerceptBehaviour<T>.GameObjects. More... | |
Protected Methods | |
override void | OnDrawGizmos () |
Draws gizmos for the inner radius and outer radius of the underlying back-end Move.RadiusSteeringBehaviour within the scene view (editor only). More... | |
override void | Reset () |
Reset to default values. 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... | |