Hi everyone,
I'm writing an application to import and convert fbx files.
For the needs of the converter I use FbxSystemUnit to change the scene's units.
I have a problem with FbxCamera objects, although the camera's Position is always scaled, the LookAt position remains unchanged for most (but not all) of the files I've tested. Any ideas about what can cause this? I use FBX SDK 2017.1.
sample code:
FbxVector4 evPos = camera->EvaluatePosition(); // -67.1, 0, 69.3
FbxVector4 evTarget = camera->EvaluateLookAtPosition(); // 23.1, -29.3, -59.3
//////////////////////////////////////////////
FbxSystemUnit systemUnit(10.0);
systemUnit.ConvertScene(scene);
//////////////////////////////////////////////
FbxVector4 new_evPos = camera->EvaluatePosition(); // -6.71, 0, 6.93
FbxVector4 new_evTarget = camera->EvaluateLookAtPosition(); //23.1, -29.3, -59.3
Thanks