Jump to content


Photo

SOLVED: Getting animated bone transforms


  • Please log in to reply
1 reply to this topic

#1 nemyax

nemyax

  • *A:M User*
  • PipPipPipPipPip
  • 355 posts
  • - - - -

Posted 04 April 2017 - 06:47 AM

What's the correct way to get the transforms of a specific bone at a specific frame?

I've tried using my_time.StepFrame and my_project_ptr->SetTime to set the time, but neither way gave me access to the animated transforms.



#2 nemyax

nemyax

  • *A:M User*
  • PipPipPipPipPip
  • 355 posts
  • - - - -

Posted 06 April 2017 - 04:06 AM

EDIT: It seems to work as expected if you call SetTime on the choreography instead of the project. And a GetHProject()->UpdateAllViews(TRUE); is also required.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users