GM: gravity direction

From GMpedia.org Wiki

Jump to: navigation, search

gravity_direction

Type: variable
Globalism: Local
Editable: Yes
The correct title of this article is gravity_direction(). It appears incorrectly here because of technical restrictions.

The local variable gravity_direction indicates the direction of the gravity. Default, this variable is set to 270°, meaning downwards, which is usually what you want.

If you want the object to fall into an other direction, you can change this value.

  • 90°: gravity up
  • 180°: gravity left
  • 0°: gravity right
Personal tools