Jump to content

Rotated Model (FBX Export)


gamecreator
 Share

Recommended Posts

What causes a single model in a scene to rotate 90 degrees along two axes when exported as FBX from 3DS Max and imported into Leadwerks?

I was exporting dungeon pieces individually when for some reason my wall showed up in my game rotated.  I can't figure out why.  So to test this, I tried to export multiple pieces together, as one FBX.  But again, the wall came in rotated.  Below is the scene, the left one in the Leadwerks model viewer, the right one in Max.  Any idea why this could happen?

scene_pieces.thumb.jpg.e265d7a2fd6076144087fa8d56f66882.jpg

  • Confused 1
Link to comment
Share on other sites

I think it has to do with the rotation axes when exporting the fbx, I think it is necessary to verify in which rotation angle it is exported.

Another thing is to try with the old leadwerks import tool that is in the tools directory. 

  • Upvote 1

 

 

Link to comment
Share on other sites

  • 2 weeks later...
On 5/22/2019 at 6:44 PM, gamecreator said:

What causes a single model in a scene to rotate 90 degrees along two axes when exported as FBX from 3DS Max and imported into Leadwerks?

There should be no axis conversion if you set your FBX exporter options to Y-up.

FBX Export Options:
Advanced Options -> Axis Conversion -> Up-Axis: Y-up

Other than that, there is always the possibility that one of your parts is using negative scaling (-100) along one of their axes in 3dsmax.  Some users do that when mirroring parts, but it may not export well outside of 3dsmax.
 

Ultimate Unwrap 3D: http://www.unwrap3d.com

Link to comment
Share on other sites

1 hour ago, Bolt said:

Advanced Options -> Axis Conversion -> Up-Axis: Y-up

Thank you; I think this is what Iris3D was suggesting as well.  I did try both options and nothing changed.  The negative scaling is an interesting theory though.  It's certainly possible though I don't see how scaling would rotate the 90 degrees on two axes.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...