Getting Size of IAnimatedMeshSceneNode

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
lesPaul456
Posts: 18
Joined: Sat Jan 02, 2010 4:48 pm

Getting Size of IAnimatedMeshSceneNode

Post by lesPaul456 »

Hello,

Can anyone tell me the easiest way to get the current width, height, and depth of an IAnimatedMeshSceneNode (or any other scene node)?

Thanks!
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

mesh->getBoundingBox().getEdges() and calculate the vector differences of the appropriate points.
lesPaul456
Posts: 18
Joined: Sat Jan 02, 2010 4:48 pm

Post by lesPaul456 »

So simple... Thanks for the help!
Post Reply