Download

Set Camera Rotation from UpVector and DirectionVector

Hello,

I’m quite new in Unreal development, sorry if it is a silly question, but I could not find a simple way to set a camera rotation with given Up and Direction vectors…
Should I calculate FQuat manually or maybe there is already some function for that?

Thanks in advance



FRotationMatrix::MakeFromXZ(Forward, Up).ToQuat();


Awesome! thank you!