Precipitation useWind not working
by Howard Dortch · in Torque 3D Professional · 03/23/2015 (2:49 pm) · 5 replies
I am trying to get precipitation to come down at an angle blowing same direction as clouds and I checked the useWind but it wont work. I tried adding a wind emitter and still no luck. Older versions of the game this worked fine. Is it broke or am I missing a setting?
#2
04/12/2015 (8:01 am)
bump again. Can't believe no one else has this issue.
#3
04/12/2015 (1:39 pm)
I will try to look into this tomorrow Howard.
#4
in precipitation.cpp. The ParticleEmitter::mWindVelocity is updated by the ForestWindMgr, but only if you have a ForestWind object in your scene. Cloudlayers have no connection with this winddirection!
04/13/2015 (9:44 am)
I don't think it is broken. If you look at this:VectorF Precipitation::getWindVelocity()
{
// The WindManager happens to set global-wind velocity here, it is not just for particles.
return mUseWind ? ParticleEmitter::mWindVelocity : Point3F::Zero;
}in precipitation.cpp. The ParticleEmitter::mWindVelocity is updated by the ForestWindMgr, but only if you have a ForestWind object in your scene. Cloudlayers have no connection with this winddirection!
#5
04/13/2015 (1:20 pm)
Ah will have to look at that. Seems it used to be tied to cloud speed or clouds and precip were both tied to a wind velocity. Thanks....
Torque 3D Owner Howard Dortch
Default Studio Name