Bump sdk to Granny-aligned curve sampling; loop motions use the loop window
sdk de8fa40: B-spline loop window, cubic curves, degree-0 first-knot>t. ActorInstance passes the motion's loop flag to SetAnimationLoop so looping motions sample across the seam instead of clamping to the end knots. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
ff8667e3b9
commit
a34b9c5a49
@@ -280,6 +280,7 @@ bool ActorInstance::PlayMotion(MotionType type, bool loop) {
|
||||
m_animTime = 0.0f;
|
||||
m_motionDuration = std::max(0.1f, m_model->GetAnimationDuration());
|
||||
m_loopMotion = loop;
|
||||
m_model->SetAnimationLoop(loop, loop);
|
||||
|
||||
if (type == MotionType::Attack || type == MotionType::ComboAttack1 ||
|
||||
type == MotionType::ComboAttack2 || type == MotionType::ComboAttack3 ||
|
||||
|
||||
Reference in New Issue
Block a user