show the boundingbox of a model

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
Tr3nT
Posts: 65
Joined: Thu Nov 29, 2007 5:19 pm

show the boundingbox of a model

Post by Tr3nT »

Hi all....
i want to know if there is a way to show in the screen the BoundingBox of a node....
i can get it from the node but i don't know if there is a function or a way to show it....and , if i can, use lines of a colour I want.....
can someone help me???
thanks.....:-)
greenya
Posts: 1012
Joined: Sun Jan 21, 2007 1:46 pm
Location: Ukraine
Contact:

Post by greenya »

Code: Select all

scene::ISceneNode* node = ...;
node->setDebugDataVisible(scene::EDS_BBOX);
Post Reply