Crowd Look At Constraint

 
 
 

Orients a deformer in a proxy rig in a CrowdFX simulation to point at a position.

This compound can be used in the Post-Simulation region of the Point_Cloud object before Set Shape Instance Bones, or in the Simulation region after Set Locomotion.

For more information, see Looking at Objects or Goals.

Tasks: Crowds/Constraints

Output Ports: Execute

Proxy Deformer Name

The name of the deformer to align. Typically, this is the head bone in the actor's Rig_Proxy hierarchy. You can also use a spine bone to rotate the torso.

Child Transform Compensation

Does not apply the corresponding transformation to the deformer's descendant nodes.

Target Position

The global position to point at.

Local Vector

The vector to align toward the target position. To determine the value to use, inspect the actor's rig (see Displaying the Rig Proxy), select the deformer, and activate the Translate tool in Local mode. For example, use -Z (0, 0, -1) with the default pedestrian.

TipIf the simulation includes multiple actor sources, you can plug multiple instances of this node into a Select Case node with its Condition port driven by Get Actor ID. This allows you to use different values for different actor types.