marwan131 Posted January 5, 2023 Share Posted January 5, 2023 i want to reset rotation of an imported model from 3ds max to 0,0,0 how can i do that using vex ? Quote Link to comment Share on other sites More sharing options...
tamagochy Posted January 5, 2023 Share Posted January 5, 2023 You need to take matrix and invert it. Quote Link to comment Share on other sites More sharing options...
bunker Posted January 5, 2023 Share Posted January 5, 2023 this tutorial is pretty good: https://vimeo.com/284712920 Quote Link to comment Share on other sites More sharing options...
marwan131 Posted January 6, 2023 Author Share Posted January 6, 2023 22 hours ago, tamagochy said: You need to take matrix and invert it. i have exported simple box from 3ds max as fbx , exported the model as rotated and unrotated , rotated object has fbx_rotation and fbx_translation attributes , i used this attributes to make inverted matrix , but the position after resetting the rotation is not the same as unrotated model , (i exported unrotated model just for reference to see if the matrix is working correctly) reset angle.hiplc rotated_pos_box.fbx rest_pos_box.fbx Quote Link to comment Share on other sites More sharing options...
tamagochy Posted January 6, 2023 Share Posted January 6, 2023 Your rest box already has translation and rotations on it. Invert matrix move object to origin, removing any translations and rotations. reset angle_fix.hipnc 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.