Most of the advice you'll find online about doing camera calculations like "how do I get a ray from the camera" in #unrealengine are subtly wrong. Here's a simple guide on how to do it right: https://www.stevestreeting.com/2025/01/23/doing-unreal-camera-calculations-right/