No Bounding Box?!

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
cookie
Posts: 83
Joined: Sun Aug 23, 2009 9:30 pm

No Bounding Box?!

Post by cookie »

Hello,

I load an IrrScene File and give the Pointer of a Node out of the Scene, which is marked as an Item to my Item System, where I check in the Mainloop if the camera nodes transformed Bounding box intersect with the items transformed bounding box. But this doesn't work. I can see the Node with his mesh but I can't collide with the bbox. When I create the Node directly in the Item System, I can collide with the directly created node.
I think I have to give the bbox of the original node to the copy of the node in the item system. But I dont know how to do this.

thanks for help.
kamikaze942
Posts: 52
Joined: Wed Mar 03, 2010 7:11 pm

Post by kamikaze942 »

post some code? if i'm understanding correctly you are setting a bounding box on your character node and camera node? have you done debug draw to see the bounding boxes? sounds like the bounding box isn't being applied when your not doing it directly .
Kamikaze
Post Reply