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/
@sinbad Just out of curiosity
is there a reason why you didn't auto in the line
`float HitDist = FMath::RayPlaneIntersectionParam(Loc, Fwd, FloorPlane);`?
My C++ skills are better average and wanted to make them at least a little average :-P
@cerberus1746 I usually only auto for types that are long / annoying to type
@sinbad @cerberus1746 Yes. This is the way.