My third-person character picks up objects of various sizes.
These objects are composed of a GameObject with an attached Rigidbody, and a number of child objects with attached Colliders.
My goal is to calculate the furthest extents of a compound GameObject so that when the object is picked up, it may be held a set distance from my character.
My question, in summary:
Is there a simple or a pre-existing C# solution to determining the extends of a compound GameObject?
Thank you in advance for all of your help!