- Home /
how to make wind
im wondering how you would go a bout making wind a being able to control it happens with a mouse click?
Answer by ckfinite · Oct 11, 2010 at 01:50 AM
I do not really know what you want to do. Are you using particles? Physics? Something else?
im not really sure what i should do all im trying to do is to be able to control an sphere by a wind like force, sphere has a rigbody on it and its mass is set to 1 if that helps.
Try the Constant Force component, under Components>Physics.
how would i set it so that every time i left click this would happen?
Basically, in the objects Update function when the left mouse button is pressed add a Constant Force.
Answer by cregox · Jan 27, 2011 at 11:25 PM
I like using AddExplosionForce, as suggested by someone else. Add a series of them and you can get quite a wind effect.
I wasn't aware of this and it came in really handy. AddForce wasn't achieving quite the result that I wanted, and AddExplosionForce did the trick. Thanks!
Answer by Cameon-57 · Oct 29, 2013 at 03:07 AM
Ok it is really simple all you have to do is go to game object and click Create other and at the bottom of the list it should say "Wind Zone' click that and then there will be an blue arrow with a fan icon.
FYI, this only affect the Terrain environment not a Gameobject
Your answer
Follow this Question
Related Questions
Add texture where clicked 0 Answers
Can't get results from GraphicRaycaster.Raycast 0 Answers
On Button Click Enable - Disable GameObject Through Inspector 1 Answer
Wind zone doesnt work 5 Answers