Super Mario Galaxy Object Database

Objects | Classes | Occurrences

Class: Coin

One of the game's main collectibles. There are two variants: Coins (Coin) and Purple Coins (PurpleCoin). Normal Coins can restore one health point if collected by the player. Purple Coins do not restore health, though. Purple Coins can only be used in Purple Comet scenarios or appropriately configured Scenario files. Normal Coins won't appear during Daredevil (Dark) Comets. Both variants can be collected by the Orange Luma in SMG2. If they are stored inside a bubble, they will also restore the player's air when underwater. Coins will spin slower when placed underwater.

Arguments

NameTypeGamesRequired?DescriptionValues
Obj_arg3BooleanBothFalse

Shadow Calculation: If set, the shadow will be calculated at all times and the game takes the shadow range into account when clipping.

    Obj_arg4IntegerBothFalse

    Pose Type: Defines how to to position and rotate the Coin. May also connect the Coin to the collision below in SMG2.

    • -1: Rotation & shadow direction affected by gravity
    • 0: Rotation ignores gravity & shadow direction affected by gravity
    • 1: Attach to Collision below & shadow direction not affected by gravity (SMG2 only)
    Obj_arg5FloatBothFalse

    Shadow Length: Sets the shadow drop length. Default is 1000.

      Obj_arg6IntegerBothFalse

      Shadow Type: Specifies the shadow model type.

      • -1: Sphere
      • 0: SurfaceCircle
      • 1: Cylinder
      Obj_arg7BooleanBothFalse

      Inside Bubble?: If true, the Coin will be placed inside an Air Bubble.

        Switches

        NameGamesRequired?Description
        SW_APPEARBothFalse

        The object will appear when this switch is activated.

        SW_BBothFalse

        Kills the Coin if this switch gets activated.

        SW_AWAKEBothFalse

        The object will become visible and resume movement when this switch is activated.

        Properties

        NameGamesRequired?Description
        ClippingGroupSMG2False

        Objects in this group are always clipped together.

        DemoSimpleCastBothFalse

        This object will not pause its movement during cutscenes, NPC conversations, etc.

        MirrorActorBothFalse

        A mirrored version of this object is created for mirror reflection setups.