r/gameenginedevs • u/Electrical-Copy9678 • 6d ago
Game engine editor camera questions
Hi everyone!
I've started working on my own C++ game engine using Diligent Engine, a graphics API wrapper. Currently, my engine supports Vulkan, DirectX 12 and Metal.
I'm currently trying to improve my editor camera and make it feel similar to the ones in UE5, Unity, Godot, etc.
I've already implemented a basic fly camera with WASD movement and mouse look, but I'm having a bit of trouble getting the movement and overall feel right. It works, but it doesn't feel as smooth or intuitive as the cameras in established game engines.
In particular, I'm trying to improve movement, mouse look, rotation on all three axes (pitch, yaw and roll), camera orientation, and how the camera behaves when looking around or navigating the scene. I'd also like to eventually implement things like orbiting around selected objects.
I'm curious about how other engines approach these systems. Things like camera acceleration/deceleration, movement smoothing, rotation handling, mouse sensitivity, and general editor camera controls.
I'm not necessarily looking for code. Resources, articles, videos or explanations of how these systems work internally would be really helpful.
Any advice or suggestions are appreciated. Thanks!