I am working on a 3D card game and discovered (the hard way) that AABBs don’t support rotating.
Bounding spheres won’t be ideal either since they won’t cover a significant part of the card.
The biggest problem I have is when cards are rotated and overlapping and I need to pick a specific card.
I just read about oriented bounding boxes and it looks like that will solve my problem, however I can’t seem to find a c# implementation of OBBs that support Raycast intersection checking (or even checking a point / vector for intersection).
I am pretty new to this stuff, and the math seems a little bit above my head, so my preference would be to find something that works without having to hack away at it.
Or if you have another way I can solve the picking issue… I am open to suggestions!
As a side note… Is there a reason we don’t add things like OBBs directly into the monogame framework as a core feature?
I understand it started out as an alternative xna, but it seems like we’ve come far enough now we can start looking at it as its own framework and to start adding new features directly to the core system to enhance / extend it as it continues to improve.
Thanks!