Hi everyone.
I've been trying to use the skinning sample, but I've got a few problems which I hope someone
may be able to help me with.
1.
I have an animated character exported from 3dsMAx 9 using the kw-Xporter.
When playing with the skinning sample, the animations don't loop properly.
i.e. I have awalk cycle which when played from start frame to end frame in MAX
it loops continuously, however when played in the skinning sample, it appears to play
the animation, then remain static for a second and then play the animation again.
This happens with all the different animations from this character.
Does anyone know how I can sort this out?
2.
In the AnimationPlayer Class, in the UpdateBoneTransforms Method,
how comes " time+= currentTimeValue" and not the other way around?
Am I right in assuming that "time" is just the passed in gameTime and the currentTimeValue is the actual
time value of the animation clip? Because if thats the case I tried manually controlling
the currentTimeValue and it didn't loop.
i.e.
while(currentTimeValue >= TimeSpan.FromSeconds(1))
currentTimeValue -= TimeSpan.FromSeconds(1);
Thanks in advance
Q