Programming Blog 14 – Door Destruction

Hi, Andrew here!  Just a quick post today.

In Monstrum, doors can be knocked down by the monsters. We are currently improving how this looks, and nothing can demonstrate this better than an action shot:

Smashing!

Implementing this effect is easy enough – each hit just activates a new collection of physics objects and disables the previous ones. Objects that need to carry over between hits are re-parented out of the system upon activation to prevent them being disabled.  The physics still needs a little bit of work, but I hope you enjoy the gif!

Andrew