How can I generate oriented bounding box (OBB) based on polygoncollider2d?
There’s many algorithms out there and many approximations so just do a search for “calculating oobb”. This has nothing to do with PolygonCollider2D really, just an OOBB from a set of points. The physics system doesn’t use OOBB at all, it only uses an AABB.
thank you!