Samples an animation at time t. Wraps t for loops. Finds the keyframe segment containing t and linearly interpolates per-bone angles. Returns frame with angles in degrees (intuitive for tests and callers; internal storage uses radians). Edge cases handled: - t = 0 returns first-keyframe values - t = duration returns last-keyframe values (no overshoot) - t > duration with loop=true wraps via modulo - Keyframes with disjoint bone-sets: each bone interpolated where available, snapped where only one side has it.
8.4 KiB
8.4 KiB