Setting up AnimationController

Vertigo80

Newcomer
Joined
May 6, 2004
Messages
2
I want to create an AnimationController object by my own, not by calling LoadHierarchyFromFile. Building my AnimationSets and registering them to the AnimationController works, but I couldn't figure out how to tell the AnimationController to which Bones it should apply the animation data.
I figure this has something to do with the mysterious method RegisterAnimationOutput - but calls to this method always end up in unspecified Null-ReferenceExceptions.
Does anyone know how to operate this ?
Thanks in advance.
 
Here's a solution for you:

Code:
Frame.RegisterNamedMatrices(RootFrame, AnimationController)

Bones are matched by their name.
 
Kavan said:
Here's a solution for you:

Code:
Frame.RegisterNamedMatrices(RootFrame, AnimationController)

Bones are matched by their name.

Wow that just works :) Thanks a lot !

(If one of the DX guys is listening : Why is such a method in the Frame Interface, and not in AnimationController ? Doesn't belong there IMHO.
Just another non-intuitive fact about the new Animation-System...)
 
Back
Top