physics_vector_field_settings table reference - Stingray Lua API Reference
This kind of table provides settings for a vector field effect.
You can pass a table with these members
in calls to stingray.VectorField.add() and stingray.VectorField.change().
Note that if you want to use many effects, you should set up a bounding box for the vector field using the
min and max members. Without specified boundaries, the effect will be applied to the entire world.
|
Specifies how long the effect must last.
|
The effect is automatically removed when the duration has expired.
If no duration is set, the effect plays forever.
|
The maxima of the axis-oriented bounding box within which the effect should be applied: i.e. the point with the highest values on all of the X, Y and Z axes.
|
|
The minima of the axis-oriented bounding box within which the effect should be applied: i.e. the point with the lowest values on all of the X, Y and Z axes.
|