camera.up = face.normal followed by camera.lookAt() a point directly in front of the camera, lets you skew the camera to align with any plane as a floor. By lerping camera.up towards face.normal, the transition can be made smoother.

Leave a comment

Log in with itch.io to leave a comment.