aboutsummaryrefslogtreecommitdiff
path: root/game/preview/NpcSubScene.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'game/preview/NpcSubScene.cpp')
-rw-r--r--game/preview/NpcSubScene.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/game/preview/NpcSubScene.cpp b/game/preview/NpcSubScene.cpp
index c9ab5b6..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,
@@ -57,7 +57,7 @@ NpcSubScene::NpcSubScene(Scene & scn) {
.body_type = Rigidbody::BodyType::DYNAMIC,
.linear_velocity = {-50, 0},
//.max_linear_velocity = 40,
- .collision_layers = {COLL_LAY_BOT_TOP, COLL_LAY_PLAYER, 100},
+ .collision_layers = {COLL_LAY_BOT_TOP, 100},
.collision_layer = COLL_LAY_PLAYER,
});