Quantcast
Viewing latest article 2
Browse Latest Browse All 40

Extents of a Compound GameObject (C#)

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!

Viewing latest article 2
Browse Latest Browse All 40

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>