Hey guys, I'm trying to get the length and width, not height, of a mesh buffer's bounding box.
I'm looking at MeshBuffer->getBoundingBox() and not too sure which function to use, I'm thinking I need MaxEdge and MinEdge then only look at the X and Z values from those vector3df's ?
AABB Length and Width
AABB Length and Width
Dream Big Or Go Home.
Help Me Help You.
Help Me Help You.
Re: AABB Length and Width
Correct. Or you can use getExtent() which already returns the difference between MaxEdge and MinEdge and use X,Z values from that.
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