pco38 Posted May 12, 2015 Share Posted May 12, 2015 Hi,I have a 3ds max model with some objects with a rotation transformation.When I export this model, the rotation is not taked in account in babylon.js.Do you have a solution for this problem?Thanks for your help...Regards, Quote Link to comment Share on other sites More sharing options...
JCPalmer Posted May 12, 2015 Share Posted May 12, 2015 for 3ds max mesh.rotationQuaternion is set not mesh.rotation. Quote Link to comment Share on other sites More sharing options...
pco38 Posted May 12, 2015 Author Share Posted May 12, 2015 To resolve the problem, What I need to do in 3ds Max?Can i convert rotation quaternion to rotation in babylon? Quote Link to comment Share on other sites More sharing options...
JCPalmer Posted May 12, 2015 Share Posted May 12, 2015 Is not your mesh not "rotated", regardless of whether it was done rotationQuaternion or rotation? If you are really asking, can I "rotate" it some more once it gets to Babylon, but do it with rotation. Probably, but I would do everything in BJS. Doing additive things in 2 different systems is not the best strategy, unless you cannot the 3ds side. mesh.rotationQuaternion = null; should probably be required. You could also call the mesh.rotate() function, which does not care & handles both. Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted May 12, 2015 Share Posted May 12, 2015 You can ask 3dsmax export to export rotation by right clicking on the scene==>Babylon properties==> uncheck use quaternions Quote Link to comment Share on other sites More sharing options...
Dad72 Posted May 12, 2015 Share Posted May 12, 2015 or made meshes[0].rotationQuaternion = null; Quote Link to comment Share on other sites More sharing options...
pco38 Posted May 13, 2015 Author Share Posted May 13, 2015 Hi all, My problem is resolved by uncheck use quaternions in 3ds max babylon properties. Thanks for your help 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.