I’m trying to make an ofcamera run inside a spiral corridor with a lookAt point ahead (on this same trail) but the camera automatically rotates in its own axis.
What is the correct way of fixing this rotation?
Thank you
I’m trying to make an ofcamera run inside a spiral corridor with a lookAt point ahead (on this same trail) but the camera automatically rotates in its own axis.
What is the correct way of fixing this rotation?
Thank you
Hi, the lookAt function accepts a second argument that it is the upVector, which will define where the camera up is.
hope this helps