Look At
A CrowdBeLookAt is a Behavior which can be used to make Entities look at a given target.
A look at behavior in the behavior editor
Creating a Look At Behavior can be performed through the following options:
- Behavior Editor / Behavior Library:
- Crowd Menu: Crowd Behaviors / Behaviors / CrowdBeLookAt Node
- MEL command: glmCrowdBeLookAtCmd;
Configuration
A Look At Behavior defines the following specific attributes. To get more information about shared parameters, see here
LookAt Attributes
Look At attributes of a look at behavior
In Locator | Name of the locator to look at. Notice that, this locator can be animated |
Target Mode |
This attribute allows a choice of two target mode :
|
Starting Duration / Stopping Duration (in seconds) | Time used to start/stop the animation. It ensures smooth transition when starting/stopping the lookAt. These duration can be viewed as a time during which a multiplier weight is applied to priority: from 0 to 1 for starting (from inactive to fully active lookAt), from 1 to 0 for stopping (from active to inactive lookAt) |
Advanced LookAt Attributes
Avanced Look At attributes of a look at behavior
Max Speed (in °/sec) | maximum speed to reach the target |
Head Percent | Part of the complete adaptation which is made by the head |
Neck Percent | Part of the complete adaptation which is made by the neck |
Bust Percent | Part of the complete adaptation which is made by the bust |
Result of a look at behavior with a default parameters (LEFT) and a head, neck & bust percent to 1.0 (RIGHT)