Skip to main content

Vanishers

Vanishers are objects that disappear and become uncollidable when touched.

Use Cases

Vanishers can be used to create varying types of gameplay, puzzles, or contraptions. An example of this is to speed up pacing for a section by requiring the player to move fast.

All Vanisher parts in the VanisherGroup model will be activated when any part in the model is touched.

Vanish modes

Each VanishMode has unique logic.

ModeDescription
FadeSmoothly fades.
BlinkFlashes multiple times before vanishing.
ConstantGradually fades depending on contact. If not in contact, regenerates.
ShrinkShrinks the part away in a set direction (Top, Bottom, Left, Right, Front, Back, Center). Does not support trusses and may behave oddly with spheres.

Configuration

NameDefault ValueDescription
BlinkCount3Amount of blinks in Blink mode.
ConstantNoRecoveryfalsePrevents recovery in Constant mode when not in contact.
InvertfalseReverses behavior: visible becomes invisible and vice versa.
RespawnFadefalseWhether the part fades in when respawning.
RespawnTime2Seconds before the part reappears.
ShrinkDirectionCenterDirection of shrinking in Shrink mode.
VanishModeFadeVanish behavior.

If you add the Invisible tag to a Vanisher part, it will ignore all collision and transparency updates. This can be used for detail such as having one big selection box around a set of trusses.