Game Development Community

Maximum Collision Meshes for a single DTS?

by Nicolai Dutka · in Torque Game Engine Advanced · 06/15/2009 (7:35 pm) · 4 replies

TGEA 1.8.1

I thought 8 was the maximum, but a friend told me he had much more than that. I tested and successfully exported a DTS with 14 collision meshes and tested the DTS in game and it indeed was working fine.

I thought to take this a step further and now my shape has 29 collision meshes. Now I am getting an error on export saying "Too many details".

So, what is the current maximum limit for collision meshes on a single DTS shape? Is there any way I can get up to 30?

#1
06/16/2009 (9:31 am)
From what I remember, the different exporters have different numbers set for this limit.
AFAIK, the limit on the regular DTS exporter for max 9 and 2009 is 20...but I remember reading somewhere that one exporter allows 100. I guess you'd have to hunt for another exporter and test it, then repeat.
#2
06/16/2009 (9:37 am)
Oh wow! 100!! LOL!!

Ok, well, I have Max 2009 and did some more testing... I went with the 29 I had and started removing them one at a time until I got a successful export. You are right, the magic number was 20. :)

I tested the DTS in game, firing projectiles and running up against the 20 different collision meshes and it definitely works!

I had to get a little creative with the collisions to make this particular model work since it needed 29 collisions, but in the end, I now only have 17 collisions with several of them overlapping each other. I was told overlapping collisions would crash the exporter, but it worked just fine for me. :)
#3
08/03/2009 (12:25 pm)
Quote:I remember reading somewhere that one exporter allows 100

I can't seem to find this... Any help?
#4
08/03/2009 (4:55 pm)
Yeah, It has been a long time since I even searched that information...so there may be a link to a site that had the download or it could be right here in the site. I simply can't remember that far back.
I do remember Logan mentioning that the DTS exporter, at one time, allowed unlimited collision meshes but the engine only saw the first X(4 or 8 ?) unless the engine source was changed. However, I assume that post was ages old since the 2009 exporter only allows 20.(obvious stuff eh ?)

The only suggestion I have to you is to break your model into pieces so that you can get more collision volumes into your scene. Besides, the higher col-exporter I spoke of was for an ealier version of Max. So you may be better off just using that workaround instead of spending time trying to find what may be an unavailable exporter due to time past.

GL