Simulate wind speed with physics ?

Hello,

How I can simulate wind speed with physics ?

Scene: I have a series of balloons from top to bottom and I want a wind simulation for a diagonal movement for each balloon. The wind speed must be random and constant for each balloon.

Regards. [import]uid: 11749 topic_id: 4892 reply_id: 304892[/import]

Not to sure but I would assign each ballon to a group, and then move the group based on math.random() using a range. To animate the group use transition.to()

You will need to check the API, on the code that is need to make the above work. If you want a single ballon to have a different pattern, you will need to specify the ballon variable and not the group variable. [import]uid: 7197 topic_id: 4892 reply_id: 15762[/import]

Yes, I know I can use transition.to() but I want use physics better.

Thanks for your reply. [import]uid: 11749 topic_id: 4892 reply_id: 15764[/import]

Hello, maybe I have expressed my original question wrong. I’ll will try to do again:

I have several light objects falling from above that has physical properties and what I get is that by setting a general physical property, affects the objects in its motion of fall, like wind, to have a diagonal motion. This property is generally able to change at any time, as the wind direction, and affecting my objects.

If anything is unclear, please tell me. This is the last part I need to terminate my game.

Regards.
Francisco. [import]uid: 11749 topic_id: 4892 reply_id: 15986[/import]

Use apply force from a random angle. [import]uid: 3018 topic_id: 4892 reply_id: 15997[/import]

Can you drop some code sample lines ? [import]uid: 11749 topic_id: 4892 reply_id: 16025[/import]