Jump to content

[solved] mesh rotation do not change


MinsuKim
 Share

Recommended Posts

hi! 

always thanks to us

today also  i has one problem =_=....

 

problem is " mesh rotation data do not change"

 

that means

 

i load a one *.babylon files used BABYLON.SceneLoader.Append()

 

and then event to mesh rotation

 

below my  code

 

var onPointerMove = function (evt) {
       if (evt.movementX < 0) {
         loadmesh.rotation.y -= 0.1;
       }
       else{
         loadmesh.rotation.y += 0.1;
       }
}

 

this is like a change on Scene 

but always rotation.y = 0

who are you this issue???

 

this issue is only load mesh data problem

below code no problem

makeBox = new BABYLON.MeshBuilder.CreateBox()

 

I am confused now T.T

 

 

 

 

 

 

 

 

Link to comment
Share on other sites

  • MinsuKim changed the title to [solved] mesh rotation do not change

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