Game Development Community

Collada custom bounds not working

by Greg G · in Torque 3D Professional · 02/14/2012 (7:54 am) · 1 replies

I have a scene with a few meshes in them that are spread out (not at 000). What I would like to do is a bounding box around some of these meshes, expor them, and then use the center model command during the import process (so that the meshes origion is at the center of the bounds or 000 and not offset)

The problem is that if the bounds is anywhere but 000 I get all sorts of strange translation issues. The bounds or the meshes move into strange locations, and the model also flips and I have to manually specify the up axis.


Does anyone have any idea what's going on? The docuemenation specifies that you CAN specify a custom bounds so long as it as at the root level which mine is.

#1
02/15/2012 (1:00 pm)
I have an idea, but I don't know if it'll work - ensure that you have your modelling program set up to work in local space when you export the model. If you're working in world space it is probably treating the world origin as the model origin. Well, it sounds like it is definitely using the world origin as the model origin, but I think it might be remedied by exporting while working in local space.

I could test this if I were home.....