Jump to content

Knowing mesh axis


Recommended Posts

DeathSoul (cheery name)... check out this doc:  http://doc.babylonjs.com/tutorials/Position,_Rotate,_Translate_and_Spaces

It has lots of playground demos that use a contraption named showaxes.  I don't think showaxes is built-into our Babylon.Tools section, yet, but it COULD be.  You will need to think about LOCALspace and WORLDspace.

To "get your bearings"... check out that doc above.  Also, I sometimes use a texture on my playgrounds called "orient.jpg".

For proper visualization, SOMETIMES set axes.parent = myRotatingMesh;.  This is so the LOCALspace axes rotate WITH the mesh.  Most of the demos on that doc page... don't parent-together the axes or ever animate them.  Write back if you have problems setting the pivot point of a parented-together set of axes/labels.

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