cutechicken commited on
Commit
7a85bf9
1 Parent(s): 44d4a14

Update game.js

Browse files
Files changed (1) hide show
  1. game.js +2 -2
game.js CHANGED
@@ -35,12 +35,12 @@ class TankPlayer {
35
  async initialize(scene, loader) {
36
  try {
37
  // 몸체 로드
38
- const bodyResult = await loader.loadAsync('/models/abramsBody.glb');
39
  this.body = bodyResult.scene;
40
  this.body.position.copy(this.position);
41
 
42
  // 포탑 로드
43
- const turretResult = await loader.loadAsync('/models/abramsTurret.glb');
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
  // 포탑 그룹 설정