Disabling gravity

This is probably a very noobe question but how do we disable gravity without using a python script controller?

I tried using a constraint for z=0 with the latest ge preview but for some reason it doesn’t work.

Heres the link to the game file:

http://institute.no.sapo.pt/hyper-proto.rar

When we press P to start the simulation the ships start falling slowing even if they are constrained to z=0 in the logic bricks.

Thanks in advance.

Set up your logic bricks like this:
ALWAYS<—>AND<—>MOTION(Force 0,0,9.8)
Press the ‘L’ button so it is deselected

This will give your object constant force upwards in global Z axis, counteracting gravity.

there might be a lot of ways to do this, if you go to world materials settings you can control the gravity field from there and set it to zero if this is what you really want.

Thanks. Both methods work very well. It was so simple after all.

Set up your logic bricks like this:
ALWAYS<—>AND<—>MOTION(Force 0,0,9.8)
Press the ‘L’ button so it is deselected

you could do it with python and getGravity (or whatever it’s called) to use the gravity whatever it currently is

Elander,
Keep in mind, however, that this disables the ‘world’ gravity. ALL dynamic objects will have no gravitational pull.