Camera setup for Beat-Em Ups?

I’m presently working on a project that is very similar to Devil May Cry (combo-based beat’em up with platforming elements), but I’m having some issues with camera angle.

The default camera set up for third-person is nigh-unusable for moving platforms. It matches your movement so the second you land on a moving platform the entire world seems to move around you. I’d much rather the camera have a range of distance it can be from the character, translating if the character were to exceed it, but only rotating if the distance falls below the maximum. Changing the height and angle of the camera has been really difficult too. By default it looks directly at the small of the character’s back, but a game like this really calls for something up and to the side. I’ve been messing with camera and camera boom settings, but with little success.

Anything you guys can offer will be much appreciated.

Thanks a ton in advance!

sounds like you want a camera on a leash.

make a blueprint of the type Actor, add a Camera component, drag this blueprint into the world, have the level blueprint eventBeginPlay cause a transition to that camera by
GetPlayerController, drag off the ReturnValue and search for SetViewTargetWithBlend node.

inside the custom actor blueprint you added the camera to, do this:

and inside the level blueprint do this:

21321-cameraleashlvlbp.jpg

That looks pretty legit, if not completely robust. I’m trying to put it together now but I can’t seem to summon the >Target Relative Location/Rotation> components; the two bottom components immediately after Camera.

I’m in the Level Blueprint right now, so maybe I’m in the wrong place? Maybe I misunderstood ‘make a blueprint of an actor’?

once you have a camera component added to your actor in it’s component tab, from the event graph variable list, you can drag and drop it into the event graph, choose get, then it will place a reference to the camera in the graph. from that camera node, you can drag off and search for those relative location/rotation variables.

they don’t show up by default because they are member variables of the camera, so you need to ask a reference to the camera for that information.

Old but unresolved question. I am also doing this and have done everything as shown yet the camera is stuck inside my players head?

http://puu.sh/kHd5N/a6644ba844.png

http://puu.sh/kHd8B/d81d997b53.png

Ok just learned how to reference camera. It is now this:

http://puu.sh/kHftu/7111b90f39.png

But now the camera turns and points up in aa weird direction when I start. And It seems like I’m now controlling the camera and not the player

Edit: The camera actually seems to have a mind of its own. I can’t see my player and when I start the camera just moves to whatever location facing nothing.

I fixed it. I had some things flipped

http://puu.sh/kHwgx/233c83f757.png

. If anyone needs it heres a reorganized version:

Now to make the controls relative to the camera.

Excuse me, how do I make the controls relative to the camera? Because i’m having difficulty with the setup I have.