3D Lingo Dictionary > L-N > maxSpeed |  |

maxSpeed

Syntax

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

Description

3D property; when used with a model resource whose type is `#particle`, allows you to get and set the maximum speed at which particles are emitted. Each particle's initial velocity is randomly selected between the emitter's `minSpeed` and `maxSpeed` properties.

The value is a floating-point number and must be greater than 0.0.

Example

In this example, ThermoSystem is a model resource of the type `#particle`. This statement sets the `maxSpeed` property of ThermoSystem to 15, which causes the fastest particles of ThermoSystem to move fairly quickly. Within a given particle system, the faster a particle moves, the farther it will travel.

    member("Fires").modelResource("ThermoSystem").emitter.maxSpeed=15

See also

`minSpeed`, `emitter`