Wind Direction and Speed Change?
DonaldM
Member Posts: 48
Games like "paper toss" are based around wind affecting an object to make it vary in movement. Can GS be set up to have wind constantly changing direction and speed (reasonably slow changes, like real wind) to affect an object fired into the air?
This would be a side view so it would be just right and left changes, not like a compass spinning around in circles or anything.
Thanks guys
This would be a side view so it would be just right and left changes, not like a compass spinning around in circles or anything.
Thanks guys
Comments
http://gamesalad.com/forums/topic.php?id=14808#post-113704
I took this and created the direction as an attribute so I could place a left and right fan. I have also seen somewhere discussion of determining swipe direction so if you were looking for wind directed by swipe movement I think you might be able to combine these .. maybe the actors which are the wind are moved to your touch in the direction of your swipe?
Just be aware of the fact that gravity will affect all objects, so all these random changes probably can't be compensated for unless an object is immobile.
Alternatively, if you just have one object (say, a golf ball or a paper airplane) upon which the wind will be acting, you could add a set of custom accelerations using the [random] function and interpolate the changes over time as above.