Jump to content

Positioning multiple imported meshes?


aaronmck
 Share

Recommended Posts

Hi,

I have created a scene and I have imported multiple models using the BABYLON.SceneLoader.ImportMesh function.

When I run it some of them are stacked on top of each other

Could someone instruct me know how I go about positioning them in the scene please?

Thanks

Link to comment
Share on other sites

Well @aaronmck you could take one piece and make it the parent of the other pieces - then just move the parent.

If you use a modeler like Blender you can set up  parent/child relationships directly without having to code it in your mesh loading.

cheers, gryff :)

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.

Guest
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.

Loading...
 Share

  • Recently Browsing   0 members

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