sprockets A:M Decaling Screen frosted donut medals buildings Rubik's Cube Nidaros Cathedral Tongue Sandwich
sprockets
Recent Posts | Unread Content | Previous Banner Topics
Jump to content
Hash, Inc. - Animation:Master

Recommended Posts

Posted

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.

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted

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.

  • 7 years later...
Posted
On 4/4/2017 at 7:47 PM, nemyax said:

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.

To get the transforms of a specific bone at a specific frame, set the animation time to the desired frame using my_project_ptr->SetTime or my_time.StepFrame, and ensure the animation system updates to reflect this. Then, retrieve the transform for the specific bone at that time.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...