# How to fix camera going through skeletal mesh (solution)

**URL:** <https://forums.unrealengine.com/t/how-to-fix-camera-going-through-skeletal-mesh-solution/2058592>\
**Category:** Blueprint\
**Tags:** spring-arm, springarm, unreal-engine, Collision, skeletalmesh, Blueprint\
**Created:** [October 8, 2024, 12:41pm UTC](https://forums.unrealengine.com/t/how-to-fix-camera-going-through-skeletal-mesh-solution/2058592 "2024-10-08T12:41:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![MikelKram](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mikelkram/32/1011745_2.png) [@MikelKram](https://forums.unrealengine.com/u/MikelKram)\
**Post date:** [October 8, 2024, 12:41pm UTC](https://forums.unrealengine.com/t/how-to-fix-camera-going-through-skeletal-mesh-solution/2058592/1 "2024-10-08T12:41:27Z")

</div>

So here’s the problem I’m having. The player camera doesn’t go through walls, but it does go through the skeletal mesh.  
Demonstration:

  
I decided to see how it was done in Silent Hill 2, which is also on UE 5.  
Demonstration:  

  
And I understand that this can be solved by simply hiding the skeletal mesh when the camera is very close to it.  
Demonstration:  

  
Here are my blueprints of this solution:

 ![blueprint2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/0/c/80c658ae160bfc7487e9f03ce11d0f898617692d.png)  
 ![blueprint3](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/5/c/95c7956da69f90260a6c1a0fbc4f69e8f122248c.png)  
 ![blueprint4](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/1/4/114efee464062278a60e4a61c60680267ba5d234.png)
