Super Mario Galaxy Object Database

Objects | Classes | Occurrences

Class: 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

    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.