Make a Certain Object not effected by gravity

Hey guys is their a way to make it so a certain object is not affected by gravity but still has a dynamic body and can still collide with another static body. I tried setting the gravity to 0 and  I messed with the linear velocity.

Any Help Thanks ,Tyler Jacobson

You use “GravityScale” to set specific gravity for any body.  If you want something to hover, set its gravity to 0.  See:

http://docs.coronalabs.com/api/type/Body/gravityScale.html

Rob

You use “GravityScale” to set specific gravity for any body.  If you want something to hover, set its gravity to 0.  See:

http://docs.coronalabs.com/api/type/Body/gravityScale.html

Rob