Hello :)
I was wondering how I would go about getting the (axis aligned) bounding box of a model after rotating and scaling it
XNA Framework
Hello :)
I was wondering how I would go about getting the (axis aligned) bounding box of a model after rotating and scaling it
Thanks for the answer CodePfo,
yet I fear simply rotating the AABB is not quite what I am looking for.
Rotating a model can change a model's AABB considerably. Think of a model shaped like a long tube for instance. When it is positionened along the z-axis it's bounding box is simply an unrounded version of the tube. Position the tube diagonally in the scene and the its bounding box will look completely different.