I have objects that require a collider and it can be of any type. In unity the collider's bounds object is an AABB in world space. Is it possible to obtain a AABB local bounding box with zero rotation, that can then be transformed into world space?
If not I have an idea of defining the bounding box using the collider parameters, and then apply the obj transform to put it into world space. But, how can I know which type of collider an object has, from this options: BoxCollider, SphereCollider, CapsuleCollider, MeshCollider?