How to get ISceneNode the width, height, thickness

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
37886708
Posts: 34
Joined: Wed May 13, 2009 12:59 pm

How to get ISceneNode the width, height, thickness

Post by 37886708 »

How to get ISceneNode the width, height, thickness
DavidJE13
Posts: 165
Joined: Tue Jan 09, 2007 7:17 pm

Post by DavidJE13 »

node->getBoundingBox().getExtent()

it should return a vector with the x-size,y-size,z-size (object-aligned)
for world-aligned, use getTransformedBoundingBox instead
37886708
Posts: 34
Joined: Wed May 13, 2009 12:59 pm

thanks

Post by 37886708 »

:D thank you!
Post Reply