Physics - Calculate force to offset gravity

I have a physics object that I want to float at a constant height.

Does anyone know how to calculate the upward linear force correctly? I'm presuming it's somehow based on the objects density and the gravity but the way to calculate it is not immediately clear to me.

views:1600 update:2011/9/28 21:38:26
corona forums © 2003-2011