Hi folks! I am new to Godot and need some guidance :'(
I set up a raycast so I can pick up objects; it happens when the ray collides with one and I trigger a key event. So far, so good!
Now, I am struggling with making an outline around every object that collides with the raycast. So far, I already got my outline shader material. But how can I turn it on and off for the object the raycast is colliding with?
Extra question: is there a way that the raycast can input the material dinamically into everything it touches, or I rather have to configure the material for every object?
Got some tutorials on YouTube, but they don't go beyond the shader being active all the time.
Thanks for the hints!