Download

Spring Arma Collision

Hello

I have some problems getting my Spring Arm and Camera to work as i want.

I have a small level where i can zoom and rotate around a point. The problem is that I want to be able to move the camera below a cliff for example:

ue4_cliff_concept.jpg

When I have “collision test” enabled the spring arm is not able to get below the cliff and just moves/zoomes the camara towrds the spring arms target point…

When I disable Collision test" it looks to work the way I want, but then I have no camera collisions… And is able to move/zoom through the cylinder…

I think i need to find a way to add collision to only the camera component if possible??

How I setup the camera:

I dropped a blueprint in the scene with a Camera and a springarm, controlled with this script:

23936312cbc87962f6e8c10ca6a8047036c165b5.jpeg
This is connected to a Event tick…

Here is a quick test scene showing what I’m trying to do:

bb25dc1a54bb83bff2bb3a984353ef7e41ecd3be.jpeg

I want to be able to move the camera below the cylinder top and see the sides of the cylinder…

The cylinder will later be a static mesh…

I hope you understand my problem, If it still unclear what I trying to do… Please say so and I will try make a viedeo showing the problem…

Thank you…