Open azaremoth opened 3 years ago
Ok, some findings:
Variable amplitude is a whole different and much more useful beast, it allows you control over how big of a 'step' your unit will make, quite literally, and some very clever things can be done with it, but totally optional.
You only have keyframes assigned to bones that are IK targets. When the script looks through all the keyframes, it ignores bone movements that are at ik targets, thus thinking that there is no actual animation data present.
Have at least 3 keyframes at different times on a real bone (not iktarget), usually the pelvis or whatever, it doesnt matter if the bone doesnt move, just have at least one bone have a non-iktarget keyframe assigned to it whenever you have a keyframe on an iktarget. e.g.:
A side note: I highly recommend spacing keyframes evenly, as thats when speed interpolation will work the best, as shown below:
Also, lua anim export is coming along, thanks to @psimyn (its 99% usable) in the relevant PR in this repo (I believe he still has his fully lua version in WIP in the ZK repo).
The export script is not including any animation in the exported text file without any error. Does happen for the latest py script as well as for the older one (without scaling/animation speed options). MAybe it is related to the setup of the file, however, I do not find the issue.
Export results: https://github.com/azaremoth/cursed/blob/master/Objects3d/euf_walker.blend.bos_export.txt
Blender file (Blender 2.83): https://github.com/azaremoth/cursed/blob/master/Objects3d/euf_walker.blend