AmmoSharing beta

This commit is contained in:
viktorljung
2016-03-11 23:58:26 +01:00
parent e0a6b09d36
commit 2a209c5d8e
11 changed files with 915 additions and 62 deletions
+3 -3
View File
@@ -75,18 +75,18 @@ void AnimationSystem::UpdateAnimations(double dt)
try {
model = ResourceManager::Load<::Model, true>(modelEntity["Model"]["Resource"]);
} catch (const std::exception&) {
return;
continue;
}
Skeleton* skeleton = model->m_RawModel->m_Skeleton;
if (skeleton == nullptr) {
return;
continue;
}
const Skeleton::Animation* animation = skeleton->GetAnimation(animationC["AnimationName"]);
if (animation == nullptr) {
continue;;
continue;
}
double animationSpeed = (double)animationC["Speed"];