engine3d - WorldGravityDirection

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
dracflamloc
Addict
Addict
Posts: 1648
Joined: Mon Sep 20, 2004 3:52 pm
Contact:

engine3d - WorldGravityDirection

Post by dracflamloc »

Not all of us like to have our feet on the ground ;)

Could you please add a way to change the gravity vector?
Kale
PureBasic Expert
PureBasic Expert
Posts: 3000
Joined: Fri Apr 25, 2003 6:03 pm
Location: Lincoln, UK
Contact:

Post by Kale »

PB Help wrote: Syntax

Result = WorldGravity(Gravity)
Description

Changes the gravity of the world, when the physic engine is enabled with EnableWorldPhysics(). The default gravity is set to -9.806 (which is the earth gravity value).
Supported OS

Windows, Linux
--Kale

Image
dracflamloc
Addict
Addict
Posts: 1648
Joined: Mon Sep 20, 2004 3:52 pm
Contact:

Post by dracflamloc »

I think you misunderstand me. That lets you set gravity in the Z direction only. I would like to ability to have gravity pull left/right and such.
Post Reply