How would I get a node’s 3D position with a Raycast?
I already know how to get the position of the collision, but I can’t find anywhere online that tells me how to find the Node’s global position
That’s not what Raycast is for.
Since you’re talking about 3D, a Spatial node’s global coordinates are found using global_transform.origin.
global_transform.origin
The Raycast can give you which node collides with the ray if you call get_collider(). For example, if you collide a StaticBody, it will return that. Then you can get the position of that body with the_body.global_transform.origin.
Raycast
get_collider()
StaticBody
the_body.global_transform.origin