What's the best rotating method?

Ey, I’m currently working on a camera spline system. Everything is doing very good, but the rotation of the spring arm is not really rotating the way i want it to, but i don’t know what to do ://

So pretty much i’m trying to replicate the system from crash bandicoot’s camerapath. It can go from 3rd person to a 2d segment and the return to 3rd person.

244564-ingamegif.gif

I’ve tried some methods. Like getting look at rotation having the Path location at distance as start and the character as target. but the results are bad and not what i wanted.

(1)This one causes the spring to barely rotate, but does rotate forward as i wanted, but does not really look at character.

(2)This causes the camera to rotate all the way around the character on some part of the spline which is super wrong. It’s never suppose to do 180’s nor 360’s rotations. It should always look forward but keep looking at character.

(3)This one is quite close to what i want but it makes the camera rotate the forward vector of the current spline, almost like a rollercoaster. Always looking forward but not at the character.

So right now i need help finding a method to rotate the character towards the character but also not make it rotate 180(Aka Backwards) Thank you

Your first approach sounds best. why does it look bad?

244611-1stgif.gif

This is why

244612-2ndgif.gif

this is my second approach

Oh man, i’ll check this out! Thanks

The best results I have seen so far are acheived by having two spline paths, one for the character and one for the camera, and have the camera be placed or spawned into the level, NOT a component of the character actor and Not on a spring arm.

these two videos give a way to set that up. video 1 is for character movement and video 2 is for the camera. I have followed these and got very good results even if my path turned around a big bend to travel te opposite direction. This is impressive because the camera’s path is longer than the player’s (it has to be on the outisde of the bend) but it stays where it tracks the character from the side without falling behind.

Warning though: the character movement technique used does not work with steep slopes or stairs. the character will stop instantly instead of going up them. But the camera technique is wonderful