SolidCatuar Posted July 22, 2014 Share Posted July 22, 2014 Hello,I have to perform transformations to a mesh, and it's necessary for me to get the mesh world matrix before each transformations. But once a transformation is performed, all my world matrix copies are amended ... In the fiddle undermentioned I don't understand why if we remove a line relative to a transformation, for exemple the l.16: box.rotation.y = Math.PI/3;, all the world matrix are amended ... to become identical ... I can only get the transform Matrix Before and after all my transformations.So is it possible to get this world matrix at each moment of the mesh position evolution ? The fiddle :http://jsfiddle.net/BluePampa/f8LRR/ Thanks ! Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted July 22, 2014 Share Posted July 22, 2014 just call box.computeWorldMatrix(true) after setting each transformation and this would be good SolidCatuar 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.