mastodon.gamedev.place is one of the many independent Mastodon servers you can use to participate in the fediverse.
Mastodon server focused on game development and related topics.

Server stats:

5.3K
active users

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

SteveStreeting.com · Doing Unreal Camera Calculations Right · SteveStreeting.com
Leandro (Cerberus1746)

@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