From d557cfd311a6239e579fad35e3684f8c0e170ce7 Mon Sep 17 00:00:00 2001 From: Max-001 Date: Sat, 11 Jan 2025 11:22:33 +0100 Subject: Fix: Player and NPS do not collide anymore --- game/preview/NpcSubScene.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'game/preview') diff --git a/game/preview/NpcSubScene.cpp b/game/preview/NpcSubScene.cpp index c9ab5b6..9fddb78 100644 --- a/game/preview/NpcSubScene.cpp +++ b/game/preview/NpcSubScene.cpp @@ -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, }); -- cgit v1.2.3