I’m not doing anything exotic. I’m just calling ‘lookAt’ so the camera points to a location in space. Whenever the camera would need to pan up, it will occasionally invert the camera as well.
Are there any code samples for how to keep a camera upright while setting ‘lookAt’? I presume it would involve supplying a custom ‘up’ vector to ‘lookAt’, but how would I know when to use it vs. the default?