mostly have mouse look working, need to figure out why collision mask binary 8 also includes 6??

This commit is contained in:
derek
2025-06-26 10:54:22 -05:00
parent 36cde498e0
commit abe877c5da
8 changed files with 58 additions and 23 deletions

View File

@@ -3,7 +3,7 @@
extends Node3D
const RAY_LENGTH := 1000
const RAY_LENGTH := 5000
"""
Uses default collision_mask. But can be overrided for custom collision
@@ -33,7 +33,7 @@ func _do_raycast_on_mouse_position(collision_mask: int = 0b00000000_00000000_000
query.collide_with_areas = true
query.collision_mask = collision_mask
var result = space_state.intersect_ray(query) # raycast result
var result = space_state.intersect_ray(query) # raycast result
return result