Floating objects

Is it possible to create floating objects when there is natural gravity. Generally all bodies are pulled towards ground. Even less dense objects fall to ground. Why they don't float? Any solutions possible?

You could set the floating objects linearVelocity perhaps?

But it would be required for me to apply it again and again. Isn't there a way that lighter objects float as in real life? Is the physics engine missing that feature?

Hey.

2 things.

firstly, have you tried giving the object a negative density?

secondly, could you maybe use a kinematic, rather than dynamic physics body?

Thanks for your response. Negative density had no effect and if the body is kinematic, that body is unaffected when something falls. Its just staying like an static object. Any other ideas?

views:1572 update:2011/10/4 8:06:35
corona forums © 2003-2011