aboutsummaryrefslogtreecommitdiff
path: root/game/PreviewScene.cpp
diff options
context:
space:
mode:
authorheavydemon21 <nielsstunnebrink1@gmail.com>2025-01-10 19:32:25 +0100
committerheavydemon21 <nielsstunnebrink1@gmail.com>2025-01-10 19:32:25 +0100
commitc17a1ac94186a2de6ad30e9228a031fb08434e52 (patch)
tree49ef4c95b4e9657cdb3b35cadae375a91a19313d /game/PreviewScene.cpp
parente0054137a49927dc619ca1a94ca543ae01713e3c (diff)
tiny adjustments for preview scene
Diffstat (limited to 'game/PreviewScene.cpp')
-rw-r--r--game/PreviewScene.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/game/PreviewScene.cpp b/game/PreviewScene.cpp
index ae43225..1179ffc 100644
--- a/game/PreviewScene.cpp
+++ b/game/PreviewScene.cpp
@@ -81,7 +81,7 @@ void PreviewScene::load_scene() {
GameObject world = this->new_object("world", "TAG", vec2 {0, 0}, 0, 1);
world.add_component<Rigidbody>(Rigidbody::Data {
.body_type = Rigidbody::BodyType::STATIC,
- .collision_layer = COLL_LAY_BOT_TOP,
+ .collision_layer = 100,
});
world.add_component<BoxCollider>(vec2(100,INFINITY), vec2(VIEWPORT_X,VIEWPORT_Y));