From 4bfbf641dc2b8aca8de9f86a9908063f39bd6e31 Mon Sep 17 00:00:00 2001 From: jacopograndi Date: Fri, 14 Jan 2022 13:04:34 +0100 Subject: . --- scripts/placer.gd | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'scripts/placer.gd') diff --git a/scripts/placer.gd b/scripts/placer.gd index e68ef5b..dbff4d7 100644 --- a/scripts/placer.gd +++ b/scripts/placer.gd @@ -55,7 +55,7 @@ func check_overlap_pointer(): var params: = PhysicsShapeQueryParameters.new() params.set_shape(shape) - params.collision_mask = 3 + params.collision_mask = 0b1101 params.transform = ptr.transform params.transform.origin = center params.transform.basis = ptr.transform.basis @@ -168,8 +168,8 @@ func _pointer (): ptr.transform.origin = to - var mask = 1 - if player.sel.name.find("path") != -1: mask = 3 + var mask = 0b1101 + if player.sel.name.find("path") != -1: mask = 0b1111 var voxelpos = null; -- cgit v1.2.3-54-g00ecf