fixing player pos and rm debug print

This commit is contained in:
Clément Le Bihan
2021-06-14 16:45:43 +02:00
parent 0467ebc8ff
commit 85dcf80256
2 changed files with 1 additions and 2 deletions
-1
View File
@@ -467,7 +467,6 @@ namespace BBM
if (floor <= 0)
break;
}
std::cout << floor << std::endl;
if (floor >= 1) {
scene->addEntity("FloorBot Hitbox")
.addComponent<PositionComponent>(Vector3f(0, 0, 0))
+1 -1
View File
@@ -42,7 +42,7 @@ namespace BBM
//{SoundComponent::DEATH, "assets/sounds/death.ogg"}
};
scene->addEntity("player")
.addComponent<PositionComponent>()
.addComponent<PositionComponent>(0, 1.01, 0)
.addComponent<Drawable3DComponent, RAY3D::Model>("assets/player/player.iqm", true, std::make_pair(MAP_DIFFUSE, "assets/player/blue.png"))
.addComponent<ControllableComponent>()
.addComponent<AnimatorComponent>()