Smooth camera rotation when dealing with Use Pawn Control Rotation?

Xanadron
Fri, 18 Nov 2016 10:18:59 +0000
Editor Scripting

Hi, i am making a game in first person using the third person template. When the character is rolling from a fall i uncheck the Use Pawn Control Rotation to give the camera a more realistic rotation, but when i am not rolling i keep it checked. This also creates a visual problem, as the camera snaps to its world rotation from the head’s and is not a smooth one, making it look awful. Is there a script to get and interpolate the camera rotation? Looking forward to your reply!

4 posts - 1 participant