aboutsummaryrefslogtreecommitdiff
path: root/scripts/placer.gd
diff options
context:
space:
mode:
authorjacopograndi <jacopo.grandi@outlook.it>2022-01-14 13:04:34 +0100
committerjacopograndi <jacopo.grandi@outlook.it>2022-01-14 13:04:34 +0100
commit4bfbf641dc2b8aca8de9f86a9908063f39bd6e31 (patch)
tree3d016842fc578f59cb0727ddb506c3b01cf53c62 /scripts/placer.gd
parent90af765b430e3a75daa9b2b4d0343ae58ad5c33d (diff)
.
Diffstat (limited to 'scripts/placer.gd')
-rw-r--r--scripts/placer.gd6
1 files changed, 3 insertions, 3 deletions
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;