Wind, Rain, Bullets

I’d like to find out if anyone has done any research on these?

I’ve simulated a fan, in that I have a circle and apply linear force (inversely proportional to the object’s distance from the circle’s centre or, rather, proportional to the distance from the radius of the circle) which seems to work well. I’ve heard of someone using Box2D in flash to create fans by spitting out small bullet objects when the fan is on.

Would this work for rain?

Also, how would you simulate ‘kickback’ when using bullet objects fired from a gun?

Matt. [import]uid: 8271 topic_id: 3510 reply_id: 303510[/import]

Hi, care to share the code for simulating the fan? [import]uid: 9577 topic_id: 3510 reply_id: 24709[/import]

It was months ago and the link to the demo had died on my share, but I reposted and here’s the thread:

http://developer.anscamobile.com/forum/2010/10/21/simple-draggable-fan-demo

Please note, there are some bugs with it that I never quite figured out, but the thread above does have an explanation, so if you debug it, please re-share!

matt [import]uid: 8271 topic_id: 3510 reply_id: 24735[/import]