animation component should theoretically work

This commit is contained in:
Clément Le Bihan
2021-06-02 15:08:46 +02:00
parent b4d783d6c2
commit d986a24c47
4 changed files with 44 additions and 20 deletions
@@ -22,6 +22,6 @@ namespace BBM
auto &anim = entity.getComponent<AnimationsComponent>();
model.member.setAnimation(anim.getCurrentModelAnim());
anim.setAnimFrameCounter(anim.getAnimFrameCounter() + 1);
anim.setCurrentAnimFrameCounter(anim.getCurrentAnimFrameCounter() + 1);
}
}