move the camera between the player and the mouse

It’s probably better done like this, you can punch in a value into the clamp node - that’s the max distance the springarm is allowed to travel from the actor.

The Springarm is set to Absolute Location and lag is set to 5. The function is running on Tick.

You can discard Z if peeking over obstacles is not needed. This can be also made completely geometry independent with Line Plane Intersection.

5 Likes