# Camera Blocking Volume in a 3D sidescroller

**URL:** <https://forums.unrealengine.com/t/camera-blocking-volume-in-a-3d-sidescroller/484032>\
**Category:** Cinematics & Media\
**Tags:** unreal-engine, question\
**Created:** [May 28, 2021, 5:06am UTC](https://forums.unrealengine.com/t/camera-blocking-volume-in-a-3d-sidescroller/484032 "2021-05-28T05:06:17Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![HungryMoogle](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/hungrymoogle/32/1194510_2.png) [@HungryMoogle](https://forums.unrealengine.com/u/HungryMoogle)\
**Post date:** [May 28, 2021, 5:06am UTC](https://forums.unrealengine.com/t/camera-blocking-volume-in-a-3d-sidescroller/484032/1 "2021-05-28T05:06:17Z")

</div>

So while for a while now I’ve been attempting to create boundaries in the 3D sidescroller game I’ve been working on that would restrict the camera’s movement on where it could go through the use of Camera Blocking Volumes. However the Camera Blocking Volume doesn’t seem to do anything to stop the camera. I’ve tried playing around with the Collision Presets to try and see if any of the settings would restrict the camera’s movement but nothing I’ve attempted so far appears to have had any effect whatsoever.

Does anyone have any idea on why the Camera Blocking Volume isn’t working? Any help whatsoever would be greatly appreciated as always.

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [May 28, 2021, 11:25am UTC](https://forums.unrealengine.com/t/camera-blocking-volume-in-a-3d-sidescroller/484032/2 "2021-05-28T11:25:28Z")

</div>

Did you enable the collision probe on the spring arm:

![340084-screenshot-2.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/9/e/69e1f4a33017b76c934e2ddf171a92945b552537.png)

---

<div class="post-metadata">

**Author:** ![HungryMoogle](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/hungrymoogle/32/1194510_2.png) [@HungryMoogle](https://forums.unrealengine.com/u/HungryMoogle)\
**Post date:** [May 28, 2021, 6:06pm UTC](https://forums.unrealengine.com/t/camera-blocking-volume-in-a-3d-sidescroller/484032/3 "2021-05-28T18:06:53Z")

</div>

My game camera doesn’t have a spring arm. The blueprint for the camera I’m using is based on the one from video[[Link][1]]. For reference’s sake here’s all the blueprints that I know of that make up my game camera:

**Event Graph:**

 ![340079-bp-camera-event-graph.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/4/9/d495b137d43b305e05e64b088b30861e65504049.png)

**Construction Script:**

 ![340080-bp-camera-construction-script.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/a/6/1a66124b4b7a2bc3622da3b9f3e91ba9c28a9e87.png)

**Get New Y Value:**

 ![340101-bp-camera-get-new-yvalue.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/0/d/00d887e7465a78f867bc82dd5c3408e12ef0b759.png)

**Get New Z Value:**

 ![340102-bp-camera-get-new-zvalue.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/2/4/f24cb8fa3e993d1f8d473256a315dceb6395d5a5.png)

**Character Blueprint:**

 ![340103-bp-character.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/d/7/7d7a180a65ee81419181d13540d4af02ef514405.png)

Unfortunately, I’m guessing that I’m going have to make a customized camera blocking volume? If so, does anyone how I can accomplish in a way that’s compatible with my current existing camera blueprint?

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [May 29, 2021, 7:47am UTC](https://forums.unrealengine.com/t/camera-blocking-volume-in-a-3d-sidescroller/484032/4 "2021-05-29T07:47:05Z")

</div>

Camera relies on the springarm’s probe for collision. You’d have to write custom camera script. is best done in the camera manager; example:

> [@How Do I Set Up the Player Camera Manager?](https://forums.unrealengine.com/t/how-do-i-set-up-the-player-camera-manager/113138/2):
>
> The camera manager is literary both, a brand new camera & its manager. Disabling \*Auto Manage Active Camera Target \*will make the controller ignore any cameras that might be attached to the controlled Pawn and give full control to the Camera Manager (and its own camera). From now on, you need to provide methods for your own camera movement, this is done by returning values from the overridden \*Blueprint Update Camera - \*the Return Value tickbox there is key! In order to pull off a Springarm-li…

You’d need to provide clamp data the manager will use to override the camera’s transforms with.

* * *

But it’d be 10x easier to add a Springarm and use the probe if collision is what you’re after. Also, the Springarm allows for automatic transform interpolation a.k.a. _Camera Lag_ which smoothens and simplifies its movement.

Is there a reason why you’re avoiding the springarm? It does a lot of cool stuff; admittedly, it can & will get in the way if you’re after some custom behaviour.

---

<div class="post-metadata">

**Author:** ![HungryMoogle](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/hungrymoogle/32/1194510_2.png) [@HungryMoogle](https://forums.unrealengine.com/u/HungryMoogle)\
**Post date:** [May 29, 2021, 3:15pm UTC](https://forums.unrealengine.com/t/camera-blocking-volume-in-a-3d-sidescroller/484032/5 "2021-05-29T15:15:00Z")

</div>

I’m not using the Spring Arm because I don’t want the camera to follow the player character when they jump into the air, as makes it difficult to see where you are trying to land, which is hugely important for a platformer game. So unless there’s a way to implement a camera “dead zone” like in the tutorial video I linked above that I used to make blueprint then the Spring Arm is no good to me.
