Jump to content

Recommended Posts

Posted

I think I need to know the current frame of an animated model in order to get root motion working for animated objects.  Is this something that can be added easily enough?

Posted

A skeleton stores a stack of animations; there is no single current frame. Do you think animation hooks might be better for events?

Let's build cool stuff and have fun. :)

  • 2 weeks later...
Posted

@SpiderPig @Andy90 This is what I am planning on. Does this fit your purposes?:

void Skeleton::AddHook(const int frame, void Hook(shared_ptr<Skeleton> skeleton, const int frame, shared_ptr<Object> extra), shared_ptr<Object> extra = nullptr)

 

Let's build cool stuff and have fun. :)

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...