I’m still a complete newbie with ue4 so all I can do really at this point is to follow simple tutorials and then add edits to them. With that in mind what I’m looking to change the top down example that comes with the editor so that I can move the camera separately from the character. As for example if you know shadowrun then that’s the kind of camera I’d want (original fallouts 1&2, underrail, wasteland 2…).
But honestly I don’t have any idea how to do it. I’m not asking full detailed steps. I’d be happy to get some basic pointers and names of some blueprint items I’d need for it. Like what items (are the graph items called items?) should I use to get mouse position on the screen or (eventually) how to limit the view movement so you can’t move the camera miles away from the character. Is using the springarm good idea for controlling the camera location or should the camera work just well on its own? Should I write the graphs for the movement functions inside the character or inside the camera blueprint? How do you connect those two?
If you want more precise list of what I want I’ve written it below. Some super basic things I’ve managed to do:
- view can be be rotated around z-axis (done)
- view can be zoomed by moving vertically (done)
- making the zoom smoother. I’ve tried to add lag but I don’t get any smoothness for the zoom, only for rotation.
- view moves in x/y directions when player moves mouse cursor on the edges of the screen.
- view can also moved with wasd buttons
- view can not move too far away from character
- when character is moving and the camera view limit is reached the camera moves with the character so character-camera max distance is not exceeded. Or alternative solution.[/spoiler]
Also I imagine I’d need to separate the camera from my character for this. But everytime I try this I just get a camera that I can not move in any way. It doesn’t respond to any buttons which I imagine has something to do with communications between blueprints. I’ve tried doing some rts tutorials but because my player is the character and not the camera (so to speak) there are some fundamental differences that I can’t solve.
Any help appreciated.