Page 1 of 1

Get mesh size...

Posted: Sat Feb 17, 2007 9:22 pm
by dwfait
Does anyone know of a way to get mesh size?

I've searched and found this thread, http://irrlicht.sourceforge.net/phpBB2/ ... =mesh+size

I tried the code there, but it doesn't seem to work...

I ask because I need to set up a physics body about the same size of a mesh.

Posted: Sat Feb 17, 2007 11:50 pm
by Acki
getBoundingBox() should work for this...
But there also was a thread where someone had a problem with collision and finally it was because the bounding box was not build correct by Irrlicht...
After loading the mesh with Milkshape3D and re-exported it to DX8 it worked...