Using Attractors
How characters move around a scene and what they are interested in (attraction) are handled in a probabilistic way that mimics the behaviour of people in the real world.
You find the Attractor element in the helpers section of assets. When placed it creates an area that will be influenced by the attractor settings placed into a scene that affect the behaviour of elements according to the interaction of the properties of the attractors and certain properties of the elements themselves. Free-standing attractor objects can be placed anywhere in the scene and will appear in an 'attractors' field in the scenario file; attractors can also be attached to objects in the scenario and will appear in an 'attractor' field of the object to which they are attached.
An object may have only one attached attractor.
Actors are the only elements affected by attractors. An actor can be given an interest in any number of attractors.
Is a value between -1.0 and 1.0. The attractiveness of each attractor is combined with its influence radius and the Interest Level of an actor to calculate the likelihood that it will navigate towards and dwell at any given attractor. A value of less than 1 will repel characters with increasing urgency until a value of -1.0 indicates panic.
When you want the attractiveness of an attractor to become less attractive or less panic as it takes the attractiveness to zero over the time of your scenario/pass. This can either be linear or you can use one of four easing options, which are illustrated below.
To set the area of influence there are four settings. An inner setting (Influence Radius Start), an outer setting (Influence Radius End), that are measured in meters, a spread which is in degrees and a direction also in degrees. Direction is only used if spread has a value, the direction angle will be the centre of the remaining radius. The illustration below shows this.
This is a value between 0 and 1. By default it is set to zero, so every element is affect the same. When set to 0.5 around half the elements in the attractor will be affected by it, set to 1 it will be a rare an element will be attracted. It may also effect how long an element will dwell in the attractor area.