Bit of an odd one - I can rotate the character around, but if I try to move it I get:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at away3d.animators::SmoothSkeletonAnimator/play()[C:UsersDellendDesktopDesign_stuffAway3Daway3d-core-fp11srcaway3danimatorsSmoothSkeletonAnimator.as:61]
at CharacterDemo/handleEnterFrame()[C:UsersDellendDesktopDesign_stuffAway3Dawayphysics-examples-fp11srcCharacterDemo.as:271]
And it opens up SmoothSkeletonAnimator at clip.reset:
var clip : SkeletonTimelineClipNode;
_crossFadeTime = crossFadeTime;
if (_activeClipIndex != -1) {
_fadeOutClips.push(_activeClipIndex);
// diminish per second
_fadeOutSpeeds.push(_mainWeight / crossFadeTime / 1000);
}
clip = _clips[sequenceName];
clip.reset();
if (clip && clip.duration > 0) {
_activeClipIndex = _lerpNode.getInputIndex(clip);
var i : int = _fadeOutClips.indexOf(_activeClipIndex);
if (i != -1) {
_fadeOutClips.splice(i, 1);
_fadeOutSpeeds.splice(i, 1);
}
}
Confused…