# Camera Set up for Beat 'em up

**URL:** <https://forums.unrealengine.com/t/camera-set-up-for-beat-em-up/1547>\
**Category:** Blueprint\
**Tags:** unreal-engine\
**Created:** [April 1, 2014, 4:26am UTC](https://forums.unrealengine.com/t/camera-set-up-for-beat-em-up/1547 "2014-04-01T04:26:13Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![jihd](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jihd](https://forums.unrealengine.com/u/jihd)\
**Post date:** [April 1, 2014, 4:26am UTC](https://forums.unrealengine.com/t/camera-set-up-for-beat-em-up/1547/1 "2014-04-01T04:26:13Z")

</div>

Hi there.

I was wondering if someone can help me with a camera setup for a beat 'em up. I’ve got side-scrolling working just fine and player movement with depth but I can’t keep the camera still along one axis. I just want the camera to track like a traditional side-scroller even if the player is moving on multiple axes. Any help would be appreciated.

(Also, complete noob at this… I’ve reverse engineered all of this using the marketplace content and still not fully grasping all the components and how they interact.)

---

<div class="post-metadata">

**Author:** ![Nawrot](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/nawrot/32/618260_2.png) [@Nawrot](https://forums.unrealengine.com/u/Nawrot)\
**Post date:** [April 1, 2014, 1:48pm UTC](https://forums.unrealengine.com/t/camera-set-up-for-beat-em-up/1547/2 "2014-04-01T13:48:02Z")

</div>

this tut explains a lot about making gamemode, pawn, input and camera.

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — ue4community.wiki! You will be able to find content from the official...

Just follow it and you get ide how to make your stuff.

---

<div class="post-metadata">

**Author:** ![jihd](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jihd](https://forums.unrealengine.com/u/jihd)\
**Post date:** [April 1, 2014, 7:47pm UTC](https://forums.unrealengine.com/t/camera-set-up-for-beat-em-up/1547/3 "2014-04-01T19:47:30Z")

</div>

This is great but it doesn’t explain how to keep the side scroller locked in place so that when the character moves ‘up’ and ‘down’ the camera doesn’t change axis but only stays moving left and right

---

<div class="post-metadata">

**Author:** ![L04D3D](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@L04D3D](https://forums.unrealengine.com/u/L04D3D)\
**Post date:** [April 2, 2014, 8:57am UTC](https://forums.unrealengine.com/t/camera-set-up-for-beat-em-up/1547/4 "2014-04-02T08:57:09Z")

</div>

wouldn’t you just use a vector to do that? assign the y and z values as 0 and only update the x value, plug it into your transform and that should do it?

---

<div class="post-metadata">

**Author:** ![D-ZarStar](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/d-zarstar/32/374458_2.png) [@D-ZarStar](https://forums.unrealengine.com/u/D-ZarStar)\
**Post date:** [February 7, 2015, 1:25pm UTC](https://forums.unrealengine.com/t/camera-set-up-for-beat-em-up/1547/5 "2015-02-07T13:25:58Z")

</div>

I’ve done something similar.

[https://dl.dropboxusercontent.com/s/fy235harblrsko8/stuffingTest01.mp4?dl=0](https://dl.dropboxusercontent.com/s/fy235harblrsko8/stuffingTest01.mp4?dl=0)

I removed the camera from the character blue print and instead created it’s own blueprint with trigger boxes so as the character moves in to it it’s starts a time line movement.

Hope that’s what your after

---

<div class="post-metadata">

**Author:** ![grimmx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@grimmx](https://forums.unrealengine.com/u/grimmx)\
**Post date:** [March 18, 2015, 6:04am UTC](https://forums.unrealengine.com/t/camera-set-up-for-beat-em-up/1547/6 "2015-03-18T06:04:03Z")

</div>

Would you mind reposting that sample? I need help setting up something similar.

---

<div class="post-metadata">

**Author:** ![usa423](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/usa423/32/918773_2.png) [@usa423](https://forums.unrealengine.com/u/usa423)\
**Post date:** [September 8, 2021, 6:27am UTC](https://forums.unrealengine.com/t/camera-set-up-for-beat-em-up/1547/7 "2021-09-08T06:27:27Z")

</div>

I also wonder this. If memory serves, in these type of games the camera doesn’t move vertically (but strafes with the player in diagonal sections), and only moves to the right when allowed, and this seems to come after the player has defeated a few bad guys in like a small segment or quadrant.
