Camera going throw walls

Hi there.
When I am near walls for example,and i am rotating the camera,the camera goes throw walls.How can i stop the camera from doing this thing?
Thanks you!

The Springarm Component which the camera is usually attached to has a collision probe - you can adjust its size and channel there.

Thank s for your answer but it doesn t work :frowning:

Thank s for your answer but it doesn t
work :frowning:

It generally does work out of the box. If you’re having problems with it, you will need to share more details for someone to help you.

You can observe the correct behaviour in the 3rd Person Template project - these are the default settings:

Image from Gyazo

There are many things that may break it, though - consider telling us what is unique about your setup. Perhaps you’re missing collision, perhaps it’s something completely else - like setting camera’s position manually.

It should not matter. How do you move the camera? By extending the springarm length? Here you can see it with a generous length of 3000uu and still respecting collision accordingly:

Image from Gyazo

I can imagine you could run into problems once you breach several millions uus due to floating point errors. But that’s something that needs to be revised at design rather than technical level.

Again, you’ve yet to provide any substantial information about your setup. It’s nearly impossible to suggest a fix to something that one does not understand.

If I close up the camera to the characther it doesn t do this anymore.But the fact is that I want the camera to be a little bit far from charatcher,and when i move her the problem appear

Thanks a lot for your help!I found out that the problem was with the socket offset,that it wasn t setted right and the springharm was interupted.Thank you !