Low Gravity? please help me

im making a space game and i need to add low gravity to it idk how to do this please help me

Hi @sus_sage,

You could use “set gravity pull” CoBlock to set low gravity.

1 Like

ok thankyou ill use that

Hi @sus_sage,

If the above answer is the solution you’ve implemented, please mark that answer as the solution.

Many thanks,
Geoff @ TechLeap

Hi team,
I’m having a bit of trouble with this too. I can use the set gravity block without any problems, works fine for all the physics objects in the space. Problem is that the camera does not seem to be affected by gravity changes.

I know, it’s a little strange, right? I distinctly remember the CoSpaces Edu :: Aliens! space having the camera lift off the ground (it was attached to the head of a person), and this still works but if you look around there’s some weird behaviour.

So adding the Camera as a child to a helper object with Physics enabled and overriding the keys (and disabling the mouse) is one option.

I guess the reason for this is that in most cases a student may want the Camera to just observe the gravity changes, rather than be affected by them.

Geoff @ TechLeap

Hi Geoff,

Thanks for the reply. I tried to user the helper object method and still had no luck, camera became fixed to the object and wouldn’t move.

Maybe a feature request as it seems lacking to not be able to experience rather than just observe gravity…especially in VR.

Yes, you need to set up key events to move the helper object (similar to a 3rd-person setup) to experience the physics.

I agree it would be a nice feature to turn this on for the Camera.

@Stefan, could you comment on the nature of Physics on the Camera, in relation to Gravity?

Geoff @ TechLeap

Got it working now! Just had to play around with the helper code.


Hi @techleapnz,

Regarding physics gravity and the camera; currently the camera is not affected by the gravity setting. Only physics items are.

Hi @Stefan , would be great to have the option to turn physics on for the camera so the viewer can experience different gravities rather than just view other objects.

Hi @iaincb,

Good idea! I’ll let our developers know of your feedback :slight_smile:

Somehow, I got to this

That always happens when I have a space with a jumping code, like move player up and then down, but it keeps on ending up higher or lower than the ground.

Hi @Bladebob20000, weird…It doesn’t use a move command, rather uses a physics push up for jumping. So you would think you couldn’t land below the ground plane.

Well done for managing it!