Fails to save an animation where frameType is not 1 (the data gets discarded on load).
|
int numReferenceFrameSamples = this.referenceFrameSamples.Length; |
The following allows runs without error but almost certainly results in an invalid file. The new file causes the player to run in place.
int numReferenceFrameSamples = this.referenceFrameSamples != null ? this.referenceFrameSamples.Length : 0;
An example of such an animation is: meshes/actors/character/Animations/MT/Neutral/female/RunForward.hkx from mcgFemaleWalk.
The data that is discarded appears to be a hkaDirectionalReferenceFrame; I'm using hkxPack to copy the data from the old to the new file to see if that will work.
Fails to save an animation where frameType is not 1 (the data gets discarded on load).
hkxPoser/hkxPoser/hka.cs
Line 400 in 63bf1c0
The following allows runs without error but almost certainly results in an invalid file. The new file causes the player to run in place.
An example of such an animation is: meshes/actors/character/Animations/MT/Neutral/female/RunForward.hkx from mcgFemaleWalk.
The data that is discarded appears to be a
hkaDirectionalReferenceFrame; I'm using hkxPack to copy the data from the old to the new file to see if that will work.