Implemented Animation Clip asset and animation controller #410
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue