A question about physics.

Hi. I want to build something with objects falling down, and up. Is there a way to do this?
I tried creating two different physics, defined by [lua]physicsOne[/lua] and [lua]physicsTwo[/lua]. But it’s not working.
I know you can change gravity within an Event Listener or Function, but that’s not what I’m looking for. HELP!

Please and thanks. [import]uid: 25216 topic_id: 11765 reply_id: 311765[/import]

If you think physics then it has to be somewhat “real” and gravity will come into play if you set gravity.

If you want objects to defy the law of gravity then you can use enterFrame or transition.

I prefer the latter. [import]uid: 12455 topic_id: 11765 reply_id: 42835[/import]

You can only have one physics object I believe. If you want one object to float, add an enterFrame handler and applyForce on each frame in the negative y direction (or in the negative direction of gravity).

This is solution we used for our Redneck Jellyfish game. [import]uid: 72407 topic_id: 11765 reply_id: 42881[/import]