Game Development Community

Making a door

by Leonardo Costa · in Torque Game Engine · 08/01/2007 (11:26 am) · 5 replies

I already read a ton of tutorials and articles talking about how to do a door in torque, but none worked good for me.

What i want to do is a door that open with animation, this i already did prety fine, but the thing i cant do is animate the collsion to follow the door, i tried a lot of diferent ways, but none worked.

Im using 3D Max 9 with DTS exporter.

#1
08/08/2007 (12:36 pm)
As far as I understand, collision meshes are static, which means they can't be animated. You might try setting it up like a player object, where collision is based off of bounding boxes.
#2
08/08/2007 (12:40 pm)
I believe the way we did it, was to create a hinge, so you have the door frame with the door section that is animated without collision but you also have a seperate transparent dts with collision that is used to move in place of where the door is open or closed.
#3
08/08/2007 (12:52 pm)
Did you try this resource?
#4
08/08/2007 (3:51 pm)
I found this in the Blender exporter doc, so it must be possible to animate collision meshes. Maybe it will spark an idea for 3DMax.

"The exporter also allows you to export animated collision meshes. This is accomplised by setting a "copy location" constraint on the collision mesh with an armature bone as the target."
#5
08/08/2007 (6:48 pm)
The Milkshape DTS Plus exporter also allows you to animated collision meshes. I have never been able to get it working from Max.