- Home /
Natural wave effect on cloth affected by wind?
I am new to unity so I am having hard time on finding necessary sources: I want to put a flag in the scene which is affected by the direction and speed of the wind.
I want the player to see the where the wind is blowing and how it is blowing by just looking to the flag. (So it has to be realistic near simulation, while still cpu friendly)
Is this possible with Unity?
Answer by Orlando Bascunan · Aug 04, 2013 at 01:49 PM
Hola! you can do a setup like this
Make the pole by creating a Cube and make the scale 10.
Create a Interactive Cloth ( from the GameObject - > Create Other menu)
Position and scale the Cloth where you want (needs to the touching the pole )
Add the Cube as a "Attached Collider" in the Inspector of the Interactive Cloth. You need to set the Size to 1 then drag the Cube to Element0 -> Collider
Add External Acceleration and Random Acceleration ( this will define where the wind is blowing).
Thank you, is there any way to make that cloth work with WindZone? Without manually adding forces from WindZone to External/Random Acceleration values?
Your answer
Follow this Question
Related Questions
cloth simulations for characters, best approach? 0 Answers
cloth simualtion problem 0 Answers
Applying wind effect to cloth 1 Answer
Add a Cloth Simulation to WebGL 0 Answers
Is there any cloth cutting simulation or script in Unity 1 Answer