- Edited
Simply put, I have no idea how to write the code code for the 3D raycasts, or even what the code is. I'm trying to get back the name of the object the raycast is colliding with. Every tutorial and post I've found is outdated, using is_colliding() which I found to have been removed, and the documentation didn't help either. I'm really new to Godot, so a full explanation/examples would be much appreciated!
EDIT: I realized I wasn't reading the documentation properly and that is_colliding() was removed only for a couple of things, which doesn't include raycasts.