Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

FoliageWindOptions

How a plant moves in the look’s wind, each at the reference wind of 10 m/s. The engine’s breeze of 3 m/s moves a plant 0.53 of each, and a storm at most 1.6 times. Each sway runs near its period with a phase that wanders, so it never repeats, and swings further in a gust than in a lull.

Property Type Description
bend? number Metres, in the model’s own size, a bough’s tip moves at most, downwind and toward the ground, by the asset’s _WIND bough weight or the engine’s from the distance to the plant’s axis. Left out, 0.05 times the square root of the model’s height over 20 m, that root at least 0.35.
flutter? number Metres, in the model’s own size, a leaf’s free edge shakes along its card, about 3 times a second, by the asset’s _WIND flutter weight; a model with no _WIND does not flutter. A gust’s heart shakes it all; under a look’s gust of 0.5 or more a lull shakes it a tenth, and a steady wind evenly. Left out, 0.004 times the square root of the model’s height over 20 m, that root at least 0.35.
swayRadians? number Radians the plant’s top reaches downwind about its foot, from 0 to below 1, the plant below it less by the square of its height share: 0.65 of it a held lean, the rest a sway about it, with a smaller sway across the wind. Left out, 0.02 for a model 20 m tall or more, and more for a smaller one, by the square root of 20 m over its height, up to 0.06 for one of 2.2 m or less.
swaySeconds? number Seconds of one sway, above 0; a bough’s is 0.45 of it. Left out, 1.15 times the square root of the copy’s height in metres, at least 1.6 s: 5.3 s for a 21 m spruce, 1.6 s for a 1 m fern, and a bough’s 0.45 of that from 1.2 to 3 s.