Jump to content

Mesh.rotation and Mesh.worldRotation - out of sync?


neoRiley
 Share

Recommended Posts

Here's a video that explains it better than typing it:

http://youtu.be/0AZ0La7FBck

 

And here's the jsfiddle to play with:

http://jsfiddle.net/neoRiley/NeVS2/3/

 

Essentially, if I set Mesh.worldRotation initially, and try to use Mesh.rotate (local rotation) afterwards, the rotation is indeed relative and local on the correct axis.

 

However, if I set Mesh.rotation initially, and try to use Mesh.rotate afterwards, the rotation doesn't respect the actual rotation of the object - ie: Mesh.worldRotation isn't updated from that initial setting of Mesh.rotation it seems like

 

Deltakosh didn't have time today to look as he's heads down on a project so I was hoping to see if anyone else could have a look,

 

Thanks much,

 

John

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