Torque3D Documentation / _generateds / ForestWindAccumulator

ForestWindAccumulator

Engine/source/forest/forestWindAccumulator.h

This simple class holds the state of the accumulated wind effect for a single tree.

More...

Classes:

Protected Functions

_updateParticle(VerletParticle * particle, const Point2F & force, F32 timeDelta)

Detailed Description

This simple class holds the state of the accumulated wind effect for a single tree.

Protected Attributes

Point2F mCurrentDir 
F32 mCurrentStrength 
ForestItemData * mDataBlock 
VerletParticle mParticles [2]
Point3F mPosition 
F32 mScale 

Protected Functions

_updateParticle(VerletParticle * particle, const Point2F & force, F32 timeDelta)