Re: Animation code: Passing TagState's directly into fragments

I set Auto Update on mannequin to enable flag AutoReinstall on ControllerDef. Then after set FragTagID and the engine make all necessary job and update fragment,
like global TagID. Until now, there was no problem with any specific tags.

The only requirements that I realized during use were these:

+ Enable Auto Update on the mannequin.
+ Every Fragment must have an anim layer.

And then I use:

Code: Select all

// For fragment tag id pAnimationContext->state.GetDef().Set(FragState, tagID, <value>); // For global tag id pAnimationContext->state.Set(tid, true);

Who is online

Users browsing this forum: No registered users and 1 guest