- Edited
https://docs.godotengine.org/en/latest/tutorials/physics/ray-casting.html
I recently upgraded my Godot projects to Godot 4 Beta 16 and have been going through the changes fine by checking out the articles and documentation, for the life of me though I can't work out how to get a simple raycast done to the terrain mouse position like I used to because the syntax seems to have changed so much. The example at the bottom seems straightforward but it only seems to have my object following the mouse at a fixed range rather than along the terrain as I want which I used get_collision_point() for.
Presumably PhysicsDirectSpaceState3D is related and intersect_point? That doesn't seem right though, this is in older versions too, I've gotten lost lol.