dot big bang

Developer API
  • Public
  • Public/Protected
  • All

This script lets you make a container with a lid. The Halloween Fun Example includes coffins and sarcophagus that can be opened and closed, but this could be anything from chests to bank vaults. For a door, though, you can use the Openable Gate script instead.

Both opening and closing can be set up individually with position, rotation, timing and easing control. You can also play sounds for open and close. Closing can happen automatically after a set period of time.

Check out the image below to see the options available.

Openable Coffin Properties