Bounding Box and Bounding Box Type Collision Mesh
by Robert S. · in Torque Game Engine · 10/05/2005 (12:18 pm) · 0 replies
Hi,
I have a DTS object that has a bounding box type collision mesh. Is there a way to calculate its bounding box by using the collision mesh? The goal is to obtain, in getWorldBox() (in C++ code) or any other variable, the real size of the object, rather than the value of "boundingBox" from datablock.
I know that I could configure it manually in datablock, but I prefer not to because I use many different DTS objects.
Thanks
I have a DTS object that has a bounding box type collision mesh. Is there a way to calculate its bounding box by using the collision mesh? The goal is to obtain, in getWorldBox() (in C++ code) or any other variable, the real size of the object, rather than the value of "boundingBox" from datablock.
I know that I could configure it manually in datablock, but I prefer not to because I use many different DTS objects.
Thanks
About the author
Creator of VisitorVille.com