Get Visible Neighbors According To Social Groups

 
 
 

This compound provides you a list of actors that another actor can see. Therefore, it is necessary to define the field of view for an actor. Moreover, this compound supports the concept of social groups which make it easier to have different behaviors in one crowd simulation (see CrowdFX_Actor_SocialGroup.

Using the parameters in this compound, you can define the distance, height, horizontal view of actors, and how many actors in a group that you want to view.

Tasks: Crowds/Behavior

Output Ports:

Horizontal View

Horizontal eyesight of an actor. For humans, it is nearly 180 degrees.

Max Distance

Limits the distance in which an actor can see another actor. All actors further away than this distance cannot be seen by an actor.

Actor Height

The height of the actors eyes above the ground.

Max Number Points to Query

Maximum number of points to query for proximity information.

Max Number Points to See

Maximum number of points to store as neighbors.

Use Visibility Test

Turn on this option, if you want the actors to consider walls and the terrain when trying to spot other actors. When turning this option off, the actors can see other actors through walls and terrains.

Obstacles

Connects more geometries such as walls that can block the actors eyesight.

Creative Commons License Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License