Currently working on a reticle that changes sizes after a user hovers over it, at the moment I have the camera controller script calling a function inside of my reticle draw script which eventually calls a queue_redraw. I have checked and every step of the process runs, but when it comes for the _draw function to run, it simply doesn't?
Code currently looks like this:
Function inside of camera controller that calls function in reticle_draw:
camera_controller.gd
func _interact_cast():
...
if current_cast_result != null:
if current_cast_result.is_in_group("Grabbable"):
reticle_draw.set_crosshair_radius(10)
Function in question inside reticle_draw:
reticle_draw.gd
func set_crosshair_radius(new_radius):
radius = new_radius
update_crosshair()
Which calls the following function:
func update_crosshair():
print(radius)
queue_redraw()
Any clue what could be going wrong with the script?