Super Mario Galaxy Object Database

Objects | Configs | Occurrences

Config: ZeroGravityBox

A gravity area that attracts objects towards collision triangles. This variant uses a box range and ignores the Range setting.

Arguments

NameTypeGamesRequired?DescriptionValues
Obj_arg0FloatSMG2False

Base Distance: The minimum distance used for calculating gravity speed. Default is 2000.

    Obj_arg1IntegerSMG2False

    Base Distance Axis: Specifies the axis to use for calculating the distance from the requesting object to this area. Default is -1.

    • -1: None
    • 0: X-axis
    • 1: Y-axis
    • 2: Z-axis

    Switches

    NameGamesRequired?Description
    SW_ASMG2False

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

    SW_BSMG2False

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

    SW_AWAKESMG2False

    Enables rendering and resumes updates when this switch is active.

    Setup

    NameGamesRequired?DescriptionValues
    BaseMtxFollowerSMG2False

    Can follow another BaseMtxFollowTarget object.

      Properties

      NameGamesDescription
      DemoSimpleCastSMG2

      Continues movement during cutscenes, NPC conversations, etc.