What's the difference between Camera.project_ray_origin and Camera.project_position?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By kiwibonga

I’m learning Godot and noticed the two functions seem to do the same thing; in my project, given the same position, they return an identical value – a world space position located on the near plane of the camera’s view frustum.

Is there a case where they behave differently?