front-end / back-end: AIMAlign
| Align
inherits from: AIMSteeringBehaviour
| SteeringBehaviour
Align adapts the movement direction of the agent relatively to its target and independently of the target's location. This works similar to the Adjust behaviour, whereby the number of possible targets differs. Here, only one target is considered.
This component does not have any specific properties. It just has got the properties inherited from SteeringBehaviour
.
The following Figure 1 shows Align in action.
Figure 1: Shows an example for Align. All three agents orient themselves properly with respect to their individual targets which are located below them.
As also mentioned for Adjust, it is possible to separate the orientation of an agent from its trajectory. However, a custom controller must be implemented to achieve such an effect.