add shootgun model

Signed-off-by: shmily744 <1527550984@qq.com>
main
shmily744 2023-04-20 00:20:00 +08:00
parent 996baf04a8
commit 198b45b5a9
24 changed files with 6283 additions and 1 deletions

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 976 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 816 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 282 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 405 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 440 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 499 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 425 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 269 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 120 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 530 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 514 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 442 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 441 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 425 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 474 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

View File

@ -1,4 +1,4 @@
#include "DemoWorld.h"
#include "DemoWorld.h"
#include "Particle.h"
DemoWorld::DemoWorld()
@ -34,6 +34,10 @@ DemoWorld::DemoWorld()
particle3->setSpeed(glm::vec3(0, 1, 0));
particle3->setPosition({ 6, 7, 0 });
auto shoot = std::make_shared<Actor>("Models\\shootgun\\scene.gltf");
shoot->setPosition({ 5,0,-1 });
shoot->setScale(glm::vec3{ 50 });
physicsManager.addSpring(particle, particle2, 2, 10, 0);
physicsManager.addSpring(particle2, particle3, 2, 10, 0);
@ -44,4 +48,6 @@ DemoWorld::DemoWorld()
addActor(particle);
addActor(particle2);
addActor(particle3);
addActor(shoot);
}