title: How to change gravity axis/direction in Blender
body: <p>I am making a videogame in Blender Game Engline, and want to be able to adjust the direction gravity pulls objects.  I can change <a href="http://www.blender.org/documentation/blender_python_api_2_65_9/bge.types.html#bge.types.KX_GameObject" rel="nofollow">scene Z gravity</a> in a script, but that's one-dimensional along the Z axis.</p>
  
  <p>I would be fine with the ability to set X, Y, and Z gravity, or an easy way to make everything rotate at the same time around the origin (or an arbitrary point).</p>
  
  <p>I could also build a system if I could have a plane exert gravity or a force field and have it rotate around the center at a set distance (the entire gameworld is encased in a sphere).</p>
  
  <p>Basically, I want to be able to, from a python script, cause a force on all dynamic objects, automatically and without . How can I do this?</p>