How do I stop Sidescroller camera from going close to character when behind an object?

So I am working on a side scroller project. and one of things I would like to implement, would be to walk behind objects just briefly. you will still be able to see character because it will be glass or what ever. or metal fencing and what not…

But as soon as character goes behind any form of object camera moves close up. I have provided some screen shots. some basic ones. Any help on this would be awesome thank you.

Fantastic thanks. worked a treat! Appreciate help! Thanks a lot! :slight_smile:

Hey Virtuosic Kitty,

easiest way to remove that functionality would be to disable Collision test on Spring Arm component. In your Character Blueprint, go to Components tab and select SpringArm1. In Details panel, scroll down to Camera Collision settings and disable Do Collision Test. That will prevent your camera from pushing in when your character is behind an object.

Hope that helps!