3D Lingo Dictionary > O-S > pathStrength

 

pathStrength

Syntax

member(whichCastmember).modelResource(whichModelResource).emitter.pathStrength	

Description

3D property; when used with a model resource whose type is #particle, determines how closely the particles follow the path specified by the path property of the emitter. Its range starts at 0.0 (no strength - so the particles won't be attracted to the path) and continues to infinity. Its default value is 0.1. Setting pathstrength to 0.0 is useful for turning the path off temporarily.

As the value of pathstrength gets larger, the entire particle system will get more and more stiff. Large pathstrength values will tend to make the particles bounce around very quickly, unless some dampening force is also used, such as the particle drag property.

This property can be tested and set.

Example

In this example, ThermoSystem is a model resource of the type #particle. This statement sets the pathStrength property of ThermoSystem to 0.97. If a path is outlined by ThermoSystem's emitter.path property, the particles follow that path very closely.

member("Fires").modelResource("ThermoSystem").emitter.pathStrength = 0.97

See also

path, emitter