Changing the speed of different objects (bodies?) using Physic's and gravity

Hey everyone:

I am new to Corona so this maybe a basic question ( I hope). I have created several objects using the Physic’s module, like the crates in the sample ‘collision detection’ - however they all move to the ground at exactly the same speed. I would like them to vary, so one item is faster then the other.

Is there a way to do that?

Thanks,

Michael Meinberg
Fog City Solutions [import]uid: 202183 topic_id: 33889 reply_id: 333889[/import]

You can change the each objects gravityScale to get this effect http://docs.coronalabs.com/api/type/Body/gravityScale.html [import]uid: 135827 topic_id: 33889 reply_id: 134752[/import]

Also don’t forget you can change the density of each object -

http://docs.coronalabs.com/api/library/physics/addBody.html

Multiplied by the area of the body’s shape to determine mass. Based on a standard value of 1.0 for water. Lighter materials (such as wood) have a density below 1.0, and heavier materials (such as stone) have a density greater than 1.0. Default value is 1.0.

Dave [import]uid: 117617 topic_id: 33889 reply_id: 134795[/import]

You can change the each objects gravityScale to get this effect http://docs.coronalabs.com/api/type/Body/gravityScale.html [import]uid: 135827 topic_id: 33889 reply_id: 134752[/import]

Also don’t forget you can change the density of each object -

http://docs.coronalabs.com/api/library/physics/addBody.html

Multiplied by the area of the body’s shape to determine mass. Based on a standard value of 1.0 for water. Lighter materials (such as wood) have a density below 1.0, and heavier materials (such as stone) have a density greater than 1.0. Default value is 1.0.

Dave [import]uid: 117617 topic_id: 33889 reply_id: 134795[/import]