diff options
author | jacopograndi <jacopo.grandi@outlook.it> | 2022-01-14 13:04:34 +0100 |
---|---|---|
committer | jacopograndi <jacopo.grandi@outlook.it> | 2022-01-14 13:04:34 +0100 |
commit | 4bfbf641dc2b8aca8de9f86a9908063f39bd6e31 (patch) | |
tree | 3d016842fc578f59cb0727ddb506c3b01cf53c62 /scripts/placer.gd | |
parent | 90af765b430e3a75daa9b2b4d0343ae58ad5c33d (diff) |
.
Diffstat (limited to 'scripts/placer.gd')
-rw-r--r-- | scripts/placer.gd | 6 |
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; |