SwitchNTrap - Traps And Switches

The main workflow is based primarily on rotation and movement of objects. You can easily create chaining events for example: "if something is touching a specific object it opens a door somewhere, it moves a trap and after it's finished it does something else, maybe changes the material of one game object". SwitchNTrap comes with a pack of modular 3D PRB assets (that you can use standalone) for your dungeons or other types of environment.


No physics(Rigidbody) movement is used!

Documentation | Help on Discord | Forum


Generate your own lever combination prefabs in the demo scene.

~23000> possible variations with the lever generator.

(17 Gears x 29 Lever handle x 24: MechaBoxes x 2: With or without runes.)



---------------------- Features: ----------------------

  • State based scripts
  • Rotation without limit.
  • Move objects between multiple coordinates.
  • Scale objects.
  • Implement easily the ISwitchController interface to link your scripts to the SNT, if needed.
  • Modular PRB traps, levers and other objects.
  • Custom lever generator.