I think (maybe i am wrong) the code should look like this:
bool collision(ISceneNode* one, ISceneNode* two) {
if(one->getTransformedBoundingBox().intersectsWithBox(two->getTransformedBoundingBox())) {
return true;
}
return false;
}
Search found 1 match
- Mon Apr 21, 2008 12:10 pm
- Forum: FAQs, Tutorials, Howtos, and external tool lists
- Topic: Irrlicht basics tutorial [Note: HUGE POST]
- Replies: 69
- Views: 87533