Community
FBX Forum
Welcome to Autodesk’s FBX Forums. Share your knowledge, ask questions, and explore popular FBX topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

FbxScene->GetEvaluator()->GetNodeLocalTransform() returns -1.#QNAN

0 REPLIES 0
Reply
Message 1 of 1
Anonymous
340 Views, 0 Replies

FbxScene->GetEvaluator()->GetNodeLocalTransform() returns -1.#QNAN

Hi, I seem to be getting bogus data when extracting bone transforms

 

my code is attached below, GlobalMatrix contains '-1.#QNAN' for the rotation and translation parts

 

Any idea what that means?

 

If i load the animation into MAYA and skip to the time that is breaking for FBX SDK it looks fine.

 

the data is valid for a number of frames then consistentnly returns -1.#QNAN after a specific number of frames, same every time

 

any ideas would be great, thanks

 

 

 

for (KTime CurTime = AnimTimeSpan.GetStart(); CurTime <= (AnimTimeSpan.GetStop()); CurTime += K_LONGLONG(46186158000) / ResampleRate, index++)
{
    KFbxXMatrix LocalMatrix;

    // Get node local transform returns "ParentGlobal.Inverse * Global"
    KFbxXMatrix& GlobalMatrix = FbxScene->GetEvaluator()->GetNodeLocalTransform(Link, CurTime);

0 REPLIES 0

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report