Game Development Community

Deranged collision meshes.

by William M. Johnson · in Torque Game Engine · 06/16/2002 (6:38 am) · 2 replies

My milkshape collision meshes come out deformed. I made a simple model of a cross, duplicated the cross to make the collision mesh, made the collision mesh visible when I exported it, and ingame the collision mesh showed to be terribly deformed.

Is this a well known error or is it restricted to my situation?

#1
06/16/2002 (7:46 am)
It probably relates to the limitation that collision meshes must be convex in shape... Er... I've always had trouble explaining this one, maybe it's best to just search the web for information. Basically, if you draw an imaginary line between one point in the mesh and another and it exits the shape, then it's not convex.

Probably the best way to fix it would be to make one collision mesh that encompasses the whole area of the cross, and then make three smaller collision meshes for the cross sections. The bad part is that the MilkShape exporter only handles one collision mesh right now. You may have to make do with just one for the time being.
#2
06/17/2002 (12:14 am)
That's what I was afraid of. I'm still working hard to convince myself to drop the 700 bucks on Max.

I appreciate the information.