How to get active Camera object?

Camera system in UE4 is actor based, you say what actor is viewed called view target and camera menager asks view target (actor, by calling CalcCamera) about camera position, so actor decides on camera position. By default actor search camera component in itself and sends position of first one it finds, so camera component is quite dummy. Each playercontroller has camera mangager and it means each had its own view target. So theres “Get view target” node which let you get current view target actor, from there you can get camera component, but actor should be the one should operate it.

3 Likes