pinkmilkshake Posted September 19, 2018 Share Posted September 19, 2018 I'm totally stumped here. Why is one mesh spinning like crazy but the other standing still? Playground: https://playground.babylonjs.com/#6FB40P Quote Link to comment Share on other sites More sharing options...
Sebavan Posted September 19, 2018 Share Posted September 19, 2018 Hello, Could you repro it in the playground please ? this will help a lot with the issue. Quote Link to comment Share on other sites More sharing options...
pinkmilkshake Posted September 19, 2018 Author Share Posted September 19, 2018 How do I do that with custom models? Quote Link to comment Share on other sites More sharing options...
Sebavan Posted September 19, 2018 Share Posted September 19, 2018 Can you not repro with other models ? if not you could store the model on github and access them with githubraw for instance if it is ok to share the model publicly else we ll need to find another approach. Quote Link to comment Share on other sites More sharing options...
pinkmilkshake Posted September 19, 2018 Author Share Posted September 19, 2018 Yes, I did manage to in the end, thanks! It seems to be any glb file. https://playground.babylonjs.com/#6FB40P Quote Link to comment Share on other sites More sharing options...
Guest Posted September 19, 2018 Share Posted September 19, 2018 Hello! this is because the glb file use rotationQuaternion and not rotation (and rotationQuaternion has precedence on rotation): https://playground.babylonjs.com/#6FB40P#1 (check line 26) Quote Link to comment Share on other sites More sharing options...
pinkmilkshake Posted September 20, 2018 Author Share Posted September 20, 2018 That solved it, thanks! 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.