Aiming
The framework provides the capabilities to have an agent point or aim at something in the scene.
The provided aiming capabilities are used by the adaptive gaze and the inverse kinematics pointing/aiming animation, that can be used by specifying a target in the Agent
AimAt Script
The AimRight Arm
that can be selected by specifying a layer.
As of now the aiming animation has predefined options for the following:
Right Arm
Left Arm
Right Leg
Left Leg
Head
Base Layer
(orient chest, spine and hips towards the target)
The Aim
Example Scenes
The framework contains one example scene that directly demonstrates the pointing functionality, as well as the adaptive gaze sample that uses the aiming capabilities indirectly. In the 'AimingSample' the agent aims at a moving target with its two hands and its head.
The AimingSampleController
has the option to add multiple waypoints where the agent should walk, while pointing at the targets.
If selected in the inspector the controller adds pointing tasks for the head, the left arm and the right arm.
It also allows to first play a wave animation on the right arm.