3D Lingo Dictionary > C-D > drag |
![]() ![]() ![]() |
drag
Syntax
member(whichCastmember
).modelResource(whichModelResource
).drag
Description
3D #particle
model resource property; indicates the percentage of each particle's velocity that is lost in each simulation step. This property has a range of 0 (no velocity lost) to 100 (all velocity lost and the particle stops moving). The default value is 0.
Example
In this example, ThermoSystem is a model resource whose type is #particle
. This statement sets the drag
property of ThermoSystem to 5, applying a large resistance to the motion of the particles of ThermoSystem and preventing them from traveling very far.
member("Fires").modelResource("ThermoSystem").drag = 5
See also
![]() ![]() ![]() |