Super Mario Galaxy Object Database

Objects | Configs | Occurrences

Config: SwitchingMoveBlock

A platform that can move and rotate when SW_A gets activated. If the switch gets deactivated again, the platform returns to its original placement.

Arguments

NameTypeGamesRequired?DescriptionValues
Obj_arg0FloatSMG2False

X Offset: How far to move the object from its position on the X-axis. Default is 0.

    Obj_arg1FloatSMG2False

    Y Offset: How far to move the object from its position on the Y-axis. Default is 0.

      Obj_arg2FloatSMG2False

      Z Offset: How far to move the object from its position on the Z-axis. Default is 0.

        Obj_arg3FloatSMG2False

        X Rotation: How much to rotate object around the X-axis. Default is 0.

          Obj_arg4FloatSMG2False

          Y Rotation: How much to rotate object around the Y-axis. Default is 0.

            Obj_arg5FloatSMG2False

            Z Rotation: How much to rotate object around the Z-axis. Default is 0.

              Switches

              NameGamesRequired?Description
              SW_ASMG2False

              Applies the offset and rotation to the object's placement when activated. When deactivated again, the object returns to its original placement.

              SW_AWAKESMG2False

              Enables rendering and resumes updates when this switch is active.