Super Mario Galaxy Object Database

Objects | Configs | Occurrences

Config: GlobalPlaneGravityInBox

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

Arguments

NameTypeGamesRequired?DescriptionValues
Obj_arg0FloatBothFalse

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

    Obj_arg1IntegerBothFalse

    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_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.