How can i fix my camera?
So i have this 2D game and i start to the left and i have to get to the right (enter - finish) and when i jump my camera and also my view jumps too and i want the camera to be fixed in the middle of the screen when i jump. Can i do anything about this?
asked Feb 01 '19 at 03:14 AM in Blueprint Scripting
yes, it sounds like your camera is a component, child or somehow connected to your player actor... so when your player moves and jumps, so does (which seems undesirable in your case)
I think what you are looking for is a separate camera, that frames your level. For this, I'd use a CameraActor and place it in your scene. Then I'd bring a reference to it into your Level Blueprint, and use Set View Target With Blend to ensure that this is the camera that UE4 uses. You'll find tutorials on this kind of thing on google..
answered Feb 01 '19 at 03:25 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here