# Another camera actor question

**URL:** <https://forums.unrealengine.com/t/another-camera-actor-question/256035>\
**Category:** Blueprint\
**Tags:** unreal-engine\
**Created:** [October 15, 2021, 9:18pm UTC](https://forums.unrealengine.com/t/another-camera-actor-question/256035 "2021-10-15T21:18:13Z")\
**Posts on this page:** 7\
**Page:** 1

<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:** [October 15, 2021, 9:18pm UTC](https://forums.unrealengine.com/t/another-camera-actor-question/256035/1 "2021-10-15T21:18:13Z")

</div>

![Image5](https://d3kjluh73b9h9o.cloudfront.net/original/3X/8/3/839e31e3005be304702be987ead5fee2a412188b.jpeg)

okay let me try this again…

When the capsule component of the TPC goes left, the camera goes left, right, up, down

---

<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:** [October 15, 2021, 9:18pm UTC](https://forums.unrealengine.com/t/another-camera-actor-question/256035/2 "2021-10-15T21:18:43Z")

</div>

I don’t understand why the below is not working.

 ![Image6](https://d3kjluh73b9h9o.cloudfront.net/original/3X/1/1/11e5d05372de8db444e466b74c10f098a49d17ce.jpeg)

I added the capsule component forward vector (Y) and up vector (Z) to the camera’s forward and up vector to an offset…tried both local and world and when I hit play the camera goes up up and away to the left.

Any ideas why that code is not working? thanks!

---

<div class="post-metadata">

**Author:** ![PAULASTYA](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/paulastya/32/266396_2.png) [@PAULASTYA](https://forums.unrealengine.com/u/PAULASTYA)\
**Post date:** [October 16, 2021, 10:27am UTC](https://forums.unrealengine.com/t/another-camera-actor-question/256035/3 "2021-10-16T10:27:12Z")

</div>

Basically your camera is following the character so just create the camera in your character blueprint.

---

<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:** [October 17, 2021, 12:01am UTC](https://forums.unrealengine.com/t/another-camera-actor-question/256035/4 "2021-10-17T00:01:28Z")

</div>

Hello Paulastya, thanks for replying. Here is the thing, If I’m going to make any decent games, I need to be able to stop the camera during progressions / enemies / minibosses /etc. Hence my desire to do it completely separate from the player yet follow the player. Maybe it is possible to do such with a camera parented to a player, I don’t think this would be possible. Cause once the camera was detached from the player, how would one put it back in the exact same position it was before reparented?

---

<div class="post-metadata">

**Author:** ![pezzott1](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/pezzott1/32/1215068_2.png) [@pezzott1](https://forums.unrealengine.com/u/pezzott1)\
**Post date:** [October 17, 2021, 12:33am UTC](https://forums.unrealengine.com/t/another-camera-actor-question/256035/5 "2021-10-17T00:33:49Z")

</div>

> [@usa423](#):
>
> Cause once the camera was detached from the player, how would one put it back in the exact same position it was before reparented?

Perhaps posses a new camera when detached or save the relative position on a variable?

---

<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:** [October 18, 2021, 10:16pm UTC](https://forums.unrealengine.com/t/another-camera-actor-question/256035/6 "2021-10-18T22:16:31Z")

</div>

That is an idea, thanks.

---

<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:** [November 7, 2021, 3:08am UTC](https://forums.unrealengine.com/t/another-camera-actor-question/256035/8 "2021-11-07T03:08:29Z")

</div>

Here is what worked. I made a new blueprint (actor) called CameraActor, I opened it and went  
to the viewport tab, added a component (camera), left click held and dragged it over the default scene root to make it the new scene root. Compiled and saved then dragged that blueprint into the world, rotated and positioned it watching the cam preview pane to get as close to what I wanted (this case a side scroller), with that camera still selected in the world, I opened the level blueprint and right clicked a blank place in the graph and added a reference to the camera actor, and used the code below.

 ![Image2](https://d3kjluh73b9h9o.cloudfront.net/original/3X/d/a/dac741eea2d998d40a5152d5646f26964e0b1018.jpeg)

The add and subtract float nodes are used for like a fine tune positioning of the camera.
