I'm simulating some balloons with objects dangling from them. I'm using the WCK alchemy box2d port. The balloons get their 'lift' from a buoyancy container thing provided by wck.
Anyway, I have a task to simulate wind affecting said balloons. Prior to this I had a terribly naive implementation where each simulation step, I detect all the balloons and apply a horizontal force to them (if I applyed teh force to the dangling object as well, it didn't look much like it was being dragged around by the balloon.)
The problem is that I want the wind to fluctuate, in gusts, realistically, but in my implementation all the objects react to a wind gust simultaneously. This looks, terribly unrealistic as the gust should affect the items in the order that the 'wind front' hits them.
Box2D isn't a strong point for me at this point, so in your expertise, how would you go about implementing wind gusts as described?
Thanks
Anyway, I have a task to simulate wind affecting said balloons. Prior to this I had a terribly naive implementation where each simulation step, I detect all the balloons and apply a horizontal force to them (if I applyed teh force to the dangling object as well, it didn't look much like it was being dragged around by the balloon.)
The problem is that I want the wind to fluctuate, in gusts, realistically, but in my implementation all the objects react to a wind gust simultaneously. This looks, terribly unrealistic as the gust should affect the items in the order that the 'wind front' hits them.
Box2D isn't a strong point for me at this point, so in your expertise, how would you go about implementing wind gusts as described?
Thanks