Super Mario Galaxy Object Database

Objects | Classes | Occurrences

Class: GlobalSegmentGravity

A gravity area that pulls objects in its range towards the lateral surface and base surfaces of a cylinder.

Arguments

NameTypeGamesRequired?DescriptionValues
Obj_arg0IntegerBothFalse

Enabled Bases: What bases should affect gravity. By default, both bases are enabled.

  • -1: Both
  • 0: Neither
  • 1: Bottom only
  • 2: Top only
Obj_arg1FloatBothFalse

Valid Degrees: The radial degrees that will have gravity. Starts pointing towards X+ and then rotates counter clockwise around the Y axis. Default is 360.

    Switches

    NameGamesRequired?Description
    SW_ABothFalse

    If used, the gravity will be activated when this switch is activated.

    SW_BBothFalse

    If used, the gravity will be activated when this switch is not activated.

    SW_AWAKEBothFalse

    The object will become visible and resume movement when this switch is activated.

    Setup

    NameGamesRequired?Description
    BaseMtxFollowerBothFalse

    Objects of this class can follow another BaseMtxFollowTarget object.

    Properties

    NameGamesDescription
    DemoSimpleCastBoth

    This object will not pause its movement during cutscenes, NPC conversations, etc.