Hi. after converting from havok 5.5.0 to havok 6.0.0 I have run into this problem.
When I try to call SampleAndCombineAnimations for an hkaPose I get an assert:
HAVOK: .\Rig\hkaPose.cpp(148): [0x5A3281F6] Assert : ! isFlagOn(b, F_BONE_MODEL_DIRTY)
Trying to access uninitialized bone in pose
I'm not sure, but it may be related to the way I'm getting the data in the pose, which has changed in havok 6.0.0.
In 5.5.0 I used to use the writeAccessFloatSlotValues, writeAccessPoseLocalSpace, writeAccessPoseModelSpace funcions.
In 6.0.0 I now use accessUnsyncedPoseModelSpace and the corresponding "unsynched" functions.
I'm not quite sure how the synched/unsynched works which may be causing my problem. I tried calling syncAll before calling SampleAndcombineAnimations but I get the same assert.
Is there something new in 6.0.0 that I'm not aware of? Do I have to initialize the bones in the poses somehow, or am I trying to access them in the incorrect way.
Any help would be much appreciated.