Quantcast
Channel: Questions in topic: "physics 2d"
Viewing all articles
Browse latest Browse all 132

How do I create 2D swirling wind patterns? (Use fluid dynamics?)

$
0
0
Hi guys, We're making a 2D game and I want to test some 2D wind patterns which will swirl in different directions (so, not a simple horizontal directional windzone, but involving curves). A good visualization for it is this Van Gogh painting: ![alt text][1] [1]: /storage/temp/66532-1280px-van-gogh-starry-night-google-art-project.jpg ... Imagine a player surfing along these wind currents in the air. The wind current should therefor be able to effect GameObjects physics (the player). So, I'm not sure how to achieve this. I've been looking at fluid dynamics with directional force applied, but I'm not sure if that's going to allow the same 'feel' as wind. I've also looked at adding force along a spline bezier curve, but I'm not sure this makes sense. How would you guys go about this? What should I research in order to get something like this working? Also, it would be ideal if I could randomize these wind currents, but I realize that may be just complication things. Thanks for reading!

Viewing all articles
Browse latest Browse all 132

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>