调整了枪兵的位置

main
ArgonarioD 2023-04-20 13:43:54 +08:00
parent 2e7fe9879b
commit d275db76b7
1 changed files with 2 additions and 1 deletions

View File

@ -21,7 +21,8 @@ DemoWorld::DemoWorld()
auto sponza = std::make_shared<Actor>("Models\\Sponza\\Sponza.gltf");
sponza->setScale(glm::vec3(2));
auto shoot = std::make_shared<Actor>("Models\\shoot_gun\\scene.gltf");
shoot->setPosition({ 5,0,-1 });
shoot->setPosition({ 0.25,6.8,7.8 });
shoot->setRotaion(glm::angleAxis(glm::radians(90.f), glm::vec3(0, 1, 0)));
shoot->setScale(glm::vec3(45));
throwPerson = std::make_shared<Actor>("Models\\grenade_throw\\grenade_throw.gltf");