Unreal Engine 5 Camera Question

Hello! I’ve recently decided picked up Unreal Engine. I’ve been playing around with it for a bit and I’ve run into a couple of barriers in my development.
I am trying to make a camera zoom into the cursor while in orthographic. Currently I am getting the screen space of the mouse, then assigning a fixed
‘meters per pixel’ to rotate with the camera, then add ontop of the character’s current position to get an offset view.
The part where i’m having trouble with is figuring out the position to set after adjusting the ortho width in order to have it zoom to the cursor.

I’ve looked for answers everywhere, and haven’t found any. I was hoping someone here might be able to help me.


1 Like