Get mesh size...

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
dwfait
Posts: 28
Joined: Sun Sep 24, 2006 8:13 pm

Get mesh size...

Post 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.
Acki
Posts: 3496
Joined: Tue Jun 29, 2004 12:04 am
Location: Nobody's Place (Venlo NL)
Contact:

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