I was able to use Yuka_OBB implementation to generate oriented bounding box. I have some questions regarding the obtained results:
Bed (AABB)
Bed (OBB)
Wall (AABB)
Wall (OBB)
Question: What type of OBB is generated here from one of the following types:
Question:
While, Bed (OBB) seems properly aligned, I want to understand what's going on with Wall (OBB)? Can I do better to improve the orientation of box around wall?
It is arbitrarily oriented in 3D space.
If it is the best-fit box, you can't improve it without getting a larger OBB. Read gamma.cs.unc.edu/users/gottschalk/main.pdf to get a better understanding of OBBs