- Home /
Accessing 'Wind Main' on windzone objects thru script
There doesn't seem to be a ready way to access the variables on the windzone object thru script.
I can access the windzone component on the object via GetComponent - but trying to access the main variable itself is another matter.
Older questions on this topic suggest that windzones aren't accessible - but controlling these seems like a fairly elemental aspect to many weather features - is this still not implemented? Anyone know of any reasonably simple workarounds if it isn't?
In my case I can change wind direction simply enough by rotating the windzone - but I can't control magnitude because I'm mainly blowing particles around (not trees), and I can't have them blowing up/down by rotating on the other axes.
Comment