aboutsummaryrefslogtreecommitdiff
path: root/game/prefab
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2025-01-07 10:40:16 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2025-01-07 10:40:16 +0100
commitbcfa2d9543c2fc7d83003b243e526ab64efab6e1 (patch)
tree00f63efe0c5ecf1aa8eaabad92f4e85277ea8644 /game/prefab
parentd46548ab15699f7ae91227625302553e79a126bc (diff)
cleanup
Diffstat (limited to 'game/prefab')
-rw-r--r--game/prefab/ZapperObject.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/game/prefab/ZapperObject.cpp b/game/prefab/ZapperObject.cpp
index 8df2075..944a53f 100644
--- a/game/prefab/ZapperObject.cpp
+++ b/game/prefab/ZapperObject.cpp
@@ -77,6 +77,7 @@ ZapperObject::ZapperObject(crepe::GameObject && base)
body {add_component<Rigidbody>(Rigidbody::Data {
.body_type = Rigidbody::BodyType::KINEMATIC,
.kinematic_collision = false,
+ .collision_layer = COLL_LAY_ZAPPER,
})},
collider {add_component<BoxCollider>(vec2(0, 0))} {
this->place(this->transform.position, 0, 300);