Super Mario Galaxy Object Database

Objects | Configs | Occurrences

Config: 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 counterclockwise 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

    Enables rendering and resumes updates when this switch is active.

    Setup

    NameGamesRequired?DescriptionValues
    BaseMtxFollowerBothFalse

    Can follow another BaseMtxFollowTarget object.

      Properties

      NameGamesDescription
      DemoSimpleCastBoth

      Continues movement during cutscenes, NPC conversations, etc.