Jump to content

How to put y,z axis on a blender imported mesh?


Recommended Posts

Hi everyone!.


I can drag a mesh but I need to put Y and Z axis in it to show a dynamic value (position in Y or position in Z) 


i.e. I saw this great example: http://www.babylonjs-playground.com/#11AOBV


And that is what I need but instead show the characters: X, Y, Z I need it to show how much it moves in Y axis and how much it moves in Z axis. Also instead a created mesh I want to put the axis in a blender imported mesh.


How can I do it?


2nd question: 

I can get the position (position.x, position.y, position.z) and rotation of a mesh in "console.log" but now how can I get the size (x,y,z) in console.log()? 


Thank you all in advance.


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