Skip to content

Conversation

keithcollins
Copy link
Collaborator

I have only tested this in PerspectiveCamera, but as far as I can tell, the default value for.lookAt is actually equal to .position. The component was previously setting the default value for .lookAt to [0, 0, 0], via target, which will tilt the camera toward the 0,0,0 location in world space, no matter where the camera is. I believe setting it equal to the camera's position will set the camera straight, with no angle. Does that sound right? I haven't tested this in the OrthographicCamera but can.

@keithcollins
Copy link
Collaborator Author

Also pushed a change that gets rid of three-stdlib and imports OrbitControls from the main three library, fwiw

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant