Follow Path Modifier

This modifier causes the particle stream to follow a path which is controlled by a sequence of path objects.

Path Data Tag

Please also see the manual page for the Path Data Tag, which adds additional functionality to this modifier.

Interface

This modifier has the following sections:

For the 'Groups Affected', 'Mapping', and 'Falloff' tabs, and for the buttons at the bottom of the interface, please see the 'Common interface elements' page.

Parameters

General quicktab

Enabled

Uncheck this switch to disable the modifier.

Mode

Independent [default setting]

In this mode, particles will be affected if they come into the field of effect of the modifier. X-Particle Actions have no effect on the modifier in this mode.

Action-Controlled

In this mode, the modifier will only act on a particle when told to do so by an Action. Until that point, the particle will not be affected, but once activated for a particular particle, the modifier will continue to influence it as long as it is in the field of effect of the modifier. The modifier's effect on a particle can be halted by means of another Action, if desired.

Path Objects

These objects set out the path the particle stream will follow. The stream will move to each object in the list in the order they are found there.

Each path object must have the following requirements:

  • it must be a closed spline
  • it must be coplanar
  • its axis must be centred within it
  • the profile must point along the Z-axis

The modifier can also use a Mograph Cloner as the path object. Simply make a spline the child of a Cloner then drop the Cloner into the 'Path Objects' list. You can then use effectors to alter the position, scale, etc. of the clones and even animate them!

Open splines will not work at all; non-coplanar splines may work but the result is unpredictable. (Coplanar means that all the points of the spline lie on the same plane, but that can be any arbitrary plane.)

If your path objects are spline primitives which lie on the XY plane (the default setting) you will meet these requirements but for custom splines you must ensure that this is the case.

Splines which can be used include Circle, Rectangle, Star, Flower, etc., but not Helix, Arc, Formula and so on. Some (such as Arc) will work if you make it editable and close the spline. Helix can never work because it is never coplanar.

Get AOT From

For each path object, when the particles turn to head towards it the sharpness of the turn is governed by the 'Acuteness of Turn' setting (AOT). In many cases you can use the same AOT setting for all the path objects, but it may be that for some objects you want a less or more acute turn. In that case, you can assign a Path Data tag to the object and set the AOT in the tag. This way, all the path objects can have different AOT settings if required.

The drop-down has two options:

Modifier

The acuteness of turn will be obtained from the modifier 'Acuteness of Turn' setting for all path objects, even if they have a Path Data tag.

Tag

If the object has a Path Data tag, the acuteness of turn will be obtained from the tag. If an object has no tag, the AOT setting in the modifier will be used.

Acuteness of Turn

This value controls how sharply the particle will turn to head for the next object. If it is too low, the particle may not reach the object in time, in which case it will circle back to try again. This setting is used if 'Get AOT From' is set to 'Modifier' or if it is set to 'Tag' and a path object does not have a Path Data tag.

Use Minimum Distance

When the modifier directs a particle to the first spline in the list of path objects, it has to calculate a position to head for. To do this, it simply selects a random position within the space enclosed by the spline. This often results in particles moving from one side of the path object to the other, crossing other particles, which is especially noticeable if the particles are producing trails.

Checking this switch will reduce the crossover by forcing the modifier to find the shortest distance from the particle to a point in the spline area. The accuracy with which it does so can be improved by increasing the 'Max. Retries' value.

The switch is off by default to maintain compatibility with existing scenes. It works best if the particle stream is at right angles to the plane of the spline object. If the stream is parallel to the spline plane you may see all the particles heading for the same point in the spline area. If this happens, you can turn off this switch and accept the possibility of trails crossing each other.

Max. Retries

This is the number of times the modifier will try to find a target position in the path spline for a particle to aim for. Some very complex splines may take many attempts to find a target position; you can set the maximum number of attempts in this parameter. Large numbers may slow down the playback.

If no target position is found after the maximum retry count is reached, the particle will no longer follow the path and will simply continue travelling along its current direction. You can kill these stray particles with the 'Cull Stray Particles' switch.

If the 'Use Minimum Distance' switch is checked, the modifier will try to find the nearest point in the spline area to the current particle position. It will do that for however many tries are given in this parameter.

Cull Stray Particles

If checked, particles which have not been assigned a target position inside a path object will be removed (see 'Max. Retries' above).

Speed Mode

This setting determines the particle speed between path objects. It has the following options:

No Change

The particle maintains its current speed.

Set Speed

The particle speed is set from the value in the 'Speed' setting (with added variation, if any).

Get Speed From Tag

If the object has a Path Data tag, the speed will be obtained from the tag. If an object has no tag, the speed will be unchanged.

Increment Speed From Tag

If the object has a Path Data tag, the speed value will be obtained from the tag and this will then be added to the current speed. If an object has no tag, the speed value will stay at its current value.

Speed and Variation

Only available in 'Set Speed' mode to set the particle speed. Variation in the speed can be added using the 'Variation' setting.

Adjust Speed By Distance

Only available in 'Set Speed' mode. When the particle stream turns to point to the next path object, they will all move at the same speed but particles on the outside of the curve will take longer to get there than those on the inside. Checking this switch will reduce that discrepancy by adjusting the speed to take account of the distance to be travelled.

If you choose 'Get Speed From Tag' the same setting is also available in the Path Data tag.

Loop at End of Path

If this switch is checked, when the particles have passed through the last path object, they will return to the first object and move along the path again. If it is unchecked they will simply follow the direction they had on exiting the path.

Actions quicktab

Actions

Actions dragged into these lists will be executed when a particle enters the first path object or reaches the end of the path (i.e. passes the final path object).

Add Action

Clicking either button will add an action to the scene and drop it into the relevant Actions list.

Actions on Start of Path/Actions on End of Path

The lists of actions to be carried out at the start and end of travel along the path.