lookRotation

open fun lookRotation(forwardInWorld: Vector3, desiredUpInWorld: Vector3): Quaternion

Get a new Quaternion representing a rotation towards a specified forward direction. If upInWorld is orthogonal to forwardInWorld, then the Y axis is aligned with desiredUpInWorld.