Jump to content

Parent boundingbox depending on children?


Recommended Posts

Hi guys.
It;s me again :)
I'm haveing an transformNode with a lot of childs. How can I create or determine the boundingbox of parent, I mean a box which contain all the children.
Here is a example http://playground.babylonjs.com/#X9KNXU 
And I found this https://www.babylonjs-playground.com/#TZSWRR, but it's only for one mesh, and I have multiple meshes and I have to merge them, I don't know.

Any idea is welcome!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...