Hi,
I am trying to adapt the ViewScene example for a game
Everything is fine, until I reach the function GetGlobalPosition (in my implementation) and it returns QNAN as the Matrix values
The function is exactly tha same as in the SDK, I know is likely I have missed some configuration when setting up the import but I cant find what it is!!
In the sample, the value is returned by Node->EvaluateGlobalTransform call. That function is not documented, I also tried the Scene->GetEvaluator()->GetNodeGlobalTransform with exactly the same result
I am using the Dude.fbx XNA sample as the test model, in the ViewScene Demo it passes a NULL as the Pose to the GetGlobalPosition function, if I set a Pose in my implementation it return a completly different result than in the Demo, because it goes on a different code path
I have tried with and without a AnimationStack using SceneContext::SetCurrentAnimStack
Does anyone know what are the preconditions for Node->EvaluateGlobalTransform to work fine?
Thank you!