How do I block the player camera from clipping through BSP's?

i placed a camerablockvolume on the bsp wall in my level,but in game my camera(created in a bp attached to my main character)can still go through it,how to solve this?? thanks a lot!!

Hi ,

Do you have a SpringEndpoint as the parent socket for your camera? Also, have you tried comparing your camera setup to the camera in the 3rd Person Blueprint template?

the springendpoint you mean is the springarmcomponent?

Yes.
Use the SpringArmComponent. Attach the cmaera as a child of Spring arm.
You can set the desired distance and other transformations inside SpringArm’s properties. Use the camera lag param to add a small delay so that the transition is not instant

but camera can still go through my bsp…

Wait,…ok I understood wrong. So you want to prevent the camara from moving?
In that case uncheck ‘Collsion test’ option in spring arm properties. This will make sure the Camera does not move, but keep the correct distance from the character.

You can also play with collision channels in the Volume to decide what to block and what to overlap.

no matter how i change the details,the camera block still dosent work,maybe is a bug… thanks all the same

oh ,i lowed the value target arm length, the block works thanks!

If I could just ask how you got the CameraBlockingVolume to work, because I’m having the same problem and no matter what I do the camera just rolls on through the volume.