Exported animation keyframes
by Daniel Buckmaster · in Artist Corner · 08/10/2008 (8:17 am) · 0 replies
I've exported a non-cyclic animation from Blender keyframed on frames 1 through 20. When I use it in the engine and do a getKeyframeCount, it returns 21. What's in the extra keyframe?
EDIT: When I open it in show tool, it reports the number of keys in the sequence as 20.
EDIT: Okay, stupid. I found that getKeyframeCount returns the number of keyframes + 1. Why? I don't know.
EDIT: When I open it in show tool, it reports the number of keys in the sequence as 20.
EDIT: Okay, stupid. I found that getKeyframeCount returns the number of keyframes + 1. Why? I don't know.
About the author
Studying mechatronic engineering and computer science at the University of Sydney. Game development is probably my most time-consuming hobby!