Implemented Animation Clip asset and animation controller #410

Merged
XiaoQiDigipen merged 66 commits from SP3-22-AnimationController into main 2023-03-09 16:19:40 +08:00
1 changed files with 3 additions and 3 deletions
Showing only changes of commit ac971f0945 - Show all commits

View File

@ -33,7 +33,7 @@ namespace SHADE
/*-----------------------------------------------------------------------------------*/
void SHAnimatorComponent::Play()
{
isPlaying = false;
isPlaying = true;
playOnce = false;
}
@ -293,9 +293,9 @@ namespace SHADE
}
// Apply pose to children
for (auto& child : node->Children)
for (auto child : node->Children)
{
updatePoseWithClip(poseTime, rawAnimData, node, transformMatrix);
updatePoseWithClip(poseTime, rawAnimData, child, transformMatrix);
}
}
}