Overal scene size / dimensions ?
-
On 14/04/2014 at 05:46, xxxxxxxx wrote:
Hi all,
Is there a clever way to get the overall scene size of e.g all objects?
I want to create a sphere which is large enough to surround all objects.kind regards mogh
-
On 17/04/2014 at 14:34, xxxxxxxx wrote:
You can use BaseObject::GetMp() and ~::GetRad() to get the dimensions of one object. Children
are not included in the data returned so you will have to iterate recursively and update the size of
the bounding box.Best,
-Niklas