jPCT object3d.animate(index, seq) Nuance

I don’t know if it was intended or not, I actually like it, but the index value of 1.0 is actually “just before” the first frame interpolated with the last frame and not actually the very last frame of the sub-sequence. The only reason I bring this up is that the documentation does not mention this nuance and it may be nice to have it included in there, honestly I think the nuance is important for smoother animations anyway.

I noticed it by trying to write a non-cycling animation sub sequence driver class, it looked like it would cycle even though it was ending on the last point. Took me a lot of annoying back checking and cross referencing to realize what was really going on.

I am posting this just in case someone else runs into the nuance and thinks there’s something wrong with their mesh or code, as I said, it’s not in the documentation, which states “0 is the first keyframe and 1 the last (of the sub-sequence).”