Page MenuHome

Wrong camera orientation from FBX
Closed, DuplicatePublic

Description

System Information
Operating system: macOS-10.15.7-x86_64-i386-64bit 64 Bits
Graphics card: AMD Radeon Pro Vega 64 OpenGL Engine ATI Technologies Inc. 4.1 ATI-3.10.18

Blender Version
Broken: version: 2.93.0, branch: master, commit date: 2021-06-02 11:21, hash: rB84da05a8b806
Worked: never

Short description of error
If you import a camera from and FBX exported from Maya set to Y up (in Maya) the cameras will have a 180 extra rotation in Z.
If you import a camera from and FBX exported from Maya set to Z up (in Maya) the cameras will have a 90 extra rotation in Z.

Exact steps for others to reproduce the error
Import the following FBX in a scene to confirm. All the cameras should point to the object.

Event Timeline

Correction: It's not Maya that is set tu Y up or Z up, it's the setting while exporting the FBX. Maya was set to Y up.

Addition: part of the problem comes from Maya's exporter. If the Maya settings don't correspond to the exporter setting, it won't work properly even in Maya. That being said, the previously included file called camTestY should work properly in Blender but it doesn't.

One more thing: The animation is offset by one frame. In the example, the cameras are originally animated from 1 to 10, in Blender it becomes 2 to 11.

Afraid this is a duplicate of T45176: FBX import - mismatch in camera rotation [which hasnt seen activity in quite a while].
Please check the other report (apparently this was cuased by rBA2f6c86c461c9: FBX IO: Atempt to fix camera/lamp orientations issues.)

Thx reporting, will merge these reports.