Game Development Community

Any way to edit bounding box by using shape editor?

by Sibsan Suksuchano · in Torque Game Engine · 09/12/2010 (3:02 pm) · 2 replies

T3D 1.1 beta 2

My problem is my model bounding box is bigger than my model and "I have only .dts" file with all Seq animation.

I've try to press "Re-computed bound" button and the bounding box in shape editor look fit to my model
but in game the bound still use old value.

My <rootpose> animation of my model is the rider stand with his bike and another animation the rider alreay on his bike(which mean smaller bounding box than the firs and center of my model is changed).

Any clue?




#1
09/12/2010 (3:29 pm)
Bounding box size for players is controlled in the datablock -- the boundingBox field. You can also set the box size for crouch/prone and swim poses. These sizes are then used in code.

If you're needing to adjust the box for certain animations I would suspect that you would have to treat your animations as additional poses (means adding code to pose selection) and apply a box size for the new poses.
#2
09/13/2010 (1:26 am)
Thanks Michael.There 's a little problem about bound origin but at least I know where to figure out ;).