MagRat Posted June 9, 2017 Share Posted June 9, 2017 I have a scene in 3DS max, and in that scene are knobs that I want to rotate. When I export the scene from Max using the 2017 exporter the pivotMatrix is set to Null. Is it possible to have this info be populated upon export from Max or can you only control this via source code? Thanks in advance. Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted June 9, 2017 Share Posted June 9, 2017 Unfortunately, I decided long time a go to bake the pivotMatrix into worldMatrix. This helps a lot when exporting animations Quote Link to comment Share on other sites More sharing options...
MagRat Posted June 9, 2017 Author Share Posted June 9, 2017 Trying to understand. So is there no way to get that value on export? Will pivotMatrix always be null? Thank you for the quick response, I appreciate it. Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted June 10, 2017 Share Posted June 10, 2017 Yes it will always be null Here is the code where we get the baked matrix: https://github.com/BabylonJS/Babylon.js/blob/master/Exporters/3ds Max/Max2Babylon/Exporter/BabylonExporter.Mesh.cs#L209 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.