Scene node from BSP brush

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
Fabio451
Posts: 17
Joined: Sun Nov 08, 2015 4:50 pm

Scene node from BSP brush

Post by Fabio451 »

Hi.
I have loaded a BSP file rapresenting a room.
Can I get a single brush (for example a door) and move it?
Should I use getBrushEntityMesh()? In this case I get an IMesh* object which has not a setPosition() member.
Thanks.
hendu
Posts: 2600
Joined: Sat Dec 18, 2010 12:53 pm

Re: Scene node from BSP brush

Post by hendu »

You can add it to the scene graph just like a mesh from anywhere else. smgr->addMeshSceneNode(), then you can move this node.
Post Reply