Spaces:
Running
Running
cutechicken
commited on
Commit
•
7a85bf9
1
Parent(s):
44d4a14
Update game.js
Browse files
game.js
CHANGED
@@ -35,12 +35,12 @@ class TankPlayer {
|
|
35 |
async initialize(scene, loader) {
|
36 |
try {
|
37 |
// 몸체 로드
|
38 |
-
const bodyResult = await loader.loadAsync('/models/
|
39 |
this.body = bodyResult.scene;
|
40 |
this.body.position.copy(this.position);
|
41 |
|
42 |
// 포탑 로드
|
43 |
-
const turretResult = await loader.loadAsync('/models/
|
44 |
this.turret = turretResult.scene;
|
45 |
|
46 |
// 포탑 그룹 설정
|
|
|
35 |
async initialize(scene, loader) {
|
36 |
try {
|
37 |
// 몸체 로드
|
38 |
+
const bodyResult = await loader.loadAsync('/models/abramslow.glb');
|
39 |
this.body = bodyResult.scene;
|
40 |
this.body.position.copy(this.position);
|
41 |
|
42 |
// 포탑 로드
|
43 |
+
const turretResult = await loader.loadAsync('/models/abramsTlow.glb');
|
44 |
this.turret = turretResult.scene;
|
45 |
|
46 |
// 포탑 그룹 설정
|