SpringArm3D gradual return to spring length

4.1.1

Is there a way to make the spring arm gradually return to its length? I’m working on a 3D platformer and I’m using the SpringArm3D for the camera. When there is no longer an obstacle in the way for the camera it instantly snaps to the spring length, I want it to gradually move back instead.

I think springarm is using raycast under the hood

You will need to write your own class to get that behavior.

Or use the spring arm as a target and lerp the camera as it moves. But you will clip through stuff as a result.

This helped a lot and is what I was looking for. It does clip through things if my character gets too close to an object, but it is a good start.

1 Like