My memory fails me. I'm sure I knew this thing before but I just can't remember.
Does getTransformedBoundingBox method return a rotated bounding box or not?
I'm pretty sure it does since I used it to check collisions of rotated cubes but I'm not exactly sure.
Update: It seems it doesn't. How do I use rotated bbox then?
Explain something about Transformed BBox
Re: Explain something about Transformed BBox
It returns the axis aligned boundingbox of the rotated node. You can't have a rotated aabbox because aabboxes only use 2 vertices.
If you use Irrlicht svn trunk you can use getTransformedBoundingBoxEdges which might do what you need (it returns all 8 corners of the box transformed). If you don't use svn trunk but Irrlicht 1.8 then take a look at the implementation of that function - it's pretty trivial: http://sourceforge.net/p/irrlicht/code/ ... ceneNode.h
If you use Irrlicht svn trunk you can use getTransformedBoundingBoxEdges which might do what you need (it returns all 8 corners of the box transformed). If you don't use svn trunk but Irrlicht 1.8 then take a look at the implementation of that function - it's pretty trivial: http://sourceforge.net/p/irrlicht/code/ ... ceneNode.h
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Re: Explain something about Transformed BBox
Aw... =3=
Back to implementing SAT then.
Thanks.
Back to implementing SAT then.
Thanks.