Animation models and stuff
This commit is contained in:
@@ -55,6 +55,17 @@ void dd::Systems::PadSystem::Initialize()
|
||||
m_World->CommitEntity(ent);
|
||||
|
||||
SetEdge(3.2 - (ctransform->Scale.x / 2));
|
||||
|
||||
|
||||
{
|
||||
auto entArm = m_World->CreateEntity(ent);
|
||||
auto ctransform = m_World->AddComponent<Components::Transform>(entArm);
|
||||
ctransform->Position = glm::vec3(1.f, -3.0f, 0.f);
|
||||
auto cModel = m_World->AddComponent<Components::Model>(entArm);
|
||||
cModel->ModelFile = "Models/Kraken/Arm.dae";
|
||||
auto animationComponent = m_World->AddComponent<Components::Animation>(entArm);
|
||||
animationComponent->Speed = 1.0f;
|
||||
}
|
||||
}
|
||||
|
||||
//Stick
|
||||
|
||||
Reference in New Issue
Block a user