diff options
-rw-r--r-- | game/preview/NpcSubScene.cpp | 2 | ||||
-rw-r--r-- | game/preview/PrevPlayerSubScene.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/game/preview/NpcSubScene.cpp b/game/preview/NpcSubScene.cpp index 9fddb78..5ededb6 100644 --- a/game/preview/NpcSubScene.cpp +++ b/game/preview/NpcSubScene.cpp @@ -49,7 +49,7 @@ NpcSubScene::NpcSubScene(Scene & scn) { .looping = true, } ); - npc.add_component<BoxCollider>(vec2 {50, 50}); + npc.add_component<BoxCollider>(vec2 {40, 50}); npc.add_component<Rigidbody>(Rigidbody::Data { .mass = 10, diff --git a/game/preview/PrevPlayerSubScene.cpp b/game/preview/PrevPlayerSubScene.cpp index 831167a..2403551 100644 --- a/game/preview/PrevPlayerSubScene.cpp +++ b/game/preview/PrevPlayerSubScene.cpp @@ -76,7 +76,7 @@ PrevPlayerSubScene::PrevPlayerSubScene(Scene & scn) { .collision_layers = {COLL_LAY_BOT_TOP, 100}, .collision_layer = COLL_LAY_PLAYER, }); - player.add_component<BoxCollider>(vec2(50, 50)); + player.add_component<BoxCollider>(vec2(40, 50)); player.add_component<BehaviorScript>().set_script<PrevPlayerScript>(); AudioSource & audio = player.add_component<AudioSource>(Asset {"asset/music/level.ogg"}); |