Frictional Games Forum (read-only)

Full Version: Wardrobe Doors
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Would it be at all possible to make a wardrobe's doors fall off of their hinges and fall to the ground when interacted with? I've seen swing doors fall to the ground when interacted with, so how would one go about separating the wardrobes doors into their own entity models and applying that effect?

Thanks in advance
The process is a bit lengthy but it's very much possible.

You need to open the wardrobe's .dae model in a 3D editor like Maya, then export the main closet model as its own file, as well as the doors in their own file. It should work fine to have both doors in the same model.

Then you need to make 2 different entities, one for the doorless wardrobe and one for the doors. The doorless one can be static. Just apply a collision box and it's done. The doors need one collision box each, assigned to their own submesh, and given a mass. Set the object type to Object > Grab if you wanna be able to pick up the doors separately and throw them around.
Oh snap it's Mudbill, I've been watching all of your videos Tongue Thanks again for those and your response. One more thing: When I export my .dae file from Blender and try to import the mesh into the Model Editor, nothing shows up. What am I doing wrong?
When your saving out your .DAE in Blender. In the left side, their is a Tab "Export COLLADA".

Below it, check "Selection Only" and "Include Material Textures".
Do I need to be doing something involving textures and materials when inside Blender? No matter what I've tried, the mesh either doesn't show up in HPL or is just invisible.
Wait, if you just want the doors to fall when you interact with them, you can just remove the hinges from the model.
Then all you gotta do is set the wardrobe static. When the players touches it, you remove the static state so it drops the doors.
Well that worked beautifully, I just set it to a grab object and Bam. Thank you all so much for your help, I imagine I'll be back here soon enough <3
Oh yeah, I guess I was overcomplicating it a bit xP

Forgot that would work the same. Since they're all already submeshes, the can collide with each other and act separately.

I do think the only issue is that if you stand in the closet when you grab the door, you'll fall through the collision box of the closet itself.
If you want. you can share the idea \ entite?
Be free to upoad it here for the ones who would like to use this feature.
ONLY if you want to share it offcourse.
As you can tell I'm relatively new here, how would I share it?
Pages: 1 2