Skip to content

Commit

Permalink
[fix] 캐릭터 충돌 영역 조절
Browse files Browse the repository at this point in the history
  • Loading branch information
JJongBin committed Dec 8, 2022
1 parent 35ecb10 commit d463172
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/component/Game/Phaser/Player/player.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export class Player extends Phaser.Physics.Arcade.Sprite {
);

scene.physics.add.existing(this);
this.getBody().setCollideWorldBounds(true).setSize(64, 64);
this.getBody().setCollideWorldBounds(true).setSize(30, 50);

changeState(this);
}
Expand Down

0 comments on commit d463172

Please sign in to comment.