mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-20 04:34:48 +00:00
Merge pull request #2252 from pacomont/Allow_to_change_wind's_direction
It's almost imposible to change direction of wind. Reseting mCurrentT…
This commit is contained in:
commit
471bdcaefe
|
|
@ -179,6 +179,7 @@ void ForestWind::setStrengthAndDirection( F32 strength, const VectorF &direction
|
|||
{
|
||||
mStrength = strength;
|
||||
mDirection = direction;
|
||||
mCurrentTarget.zero();
|
||||
mIsDirty = true;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue