Frictional Games Forum (read-only)

Full Version: Various question
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello people,
I have some questions today :/.
1. Is there a function that allows me to make a door fall off it's hinges?
2. I am doing a puzzle were the player has to chisel their way through a wall, how would I do that?
Making the animations, making the wall disappear and making bricks fly as well.

-Thanks

PS If you need more details pm me
You can make a door fall off its hinges by creating custom entities. Open the door in the ModelEditor and "Save As" a different entity. Once again "Save As" but put "_broken" after it, to distinguish it from the functional door. Change the entity type to "Object" --> "Static". Delete the joint. Save it. Go back to the first entity you saved, the functional door. Go to User-defined variables and change its BreakEntity to match the broken door you just created.

Then just break the door by using scripts.
I think you could use a function called BreakJoints or something like that as long as you remove the object type door to a regular one.