Game Development Community

Collision with Multiple Meshes

by Demolishun · in Torque Game Engine · 09/09/2006 (9:17 am) · 3 replies

I am trying to figure out the best approach to providing multple collision meshes to an object based upon gamebase. From what I can tell DIFs have multiple collision meshes, but not much else does. My goal is to allow other objects to walk underneath and between the legs of some large vehicles while still being able to collide with the legs. I am tempted to play with physics on my vehicles, but that is not necessity and may just add complexity.

So my question is: Has anyone created objects with multiple collision meshes (not hit boxes)? If so what approach did you take?

Thanks

About the author

I love programming, I love programming things that go click, whirr, boom. For organized T3D Links visit: http://demolishun.com/?page_id=67


#1
09/09/2006 (10:10 am)
I've done it. it's extremely simple. All you have to do is add more convex shapes and specify them as collision meshes with your exporter.

But this can't be done on players... since players do not use collision meshes.
#2
09/09/2006 (1:14 pm)
Yes, that is why I am creating a new base class so I can have those meshes. Are you doing this to vehicles?
#3
09/12/2006 (7:11 pm)
No. i've never messed with vehicles. I was just reffering to static shapes.