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.
Get mesh size...
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...
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...
while(!asleep) sheep++;
IrrExtensions:
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
IrrExtensions:
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java