aboutsummaryrefslogtreecommitdiff
path: root/game/preview/PrevPlayerSubScene.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'game/preview/PrevPlayerSubScene.cpp')
-rw-r--r--game/preview/PrevPlayerSubScene.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/game/preview/PrevPlayerSubScene.cpp b/game/preview/PrevPlayerSubScene.cpp
index 4351deb..3f5a5d5 100644
--- a/game/preview/PrevPlayerSubScene.cpp
+++ b/game/preview/PrevPlayerSubScene.cpp
@@ -71,10 +71,10 @@ PrevPlayerSubScene::PrevPlayerSubScene(Scene & scn) {
}
);
player.add_component<Rigidbody>(Rigidbody::Data {
- .gravity_scale = 20,
+ .gravity_scale = 1,
.body_type = Rigidbody::BodyType::DYNAMIC,
.linear_velocity = vec2(100, 0),
- .collision_layers = {COLL_LAY_BOT_TOP},
+ .collision_layers = {COLL_LAY_BOT_TOP, 100},
.collision_layer = COLL_LAY_PLAYER,
});
player.add_component<BoxCollider>(vec2(50, 50));