Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(OrbitControls): update lookAt when matrixAutoUpdate false #319

Merged

Conversation

krispya
Copy link
Member

@krispya krispya commented Nov 21, 2023

When matrixAutoUpdate is false, the lookAt does not get the correct matrix and the target is delayed. This PR calls a manual matrixUpdate if matrixAutoUpdate is false.

Copy link

codesandbox-ci bot commented Nov 21, 2023

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 555a467:

Sandbox Source
JavaScript Configuration

@krispya krispya changed the title [fix] OrbitControls calcs wrong lookAt with matrixAutoUpdate false fix:(OrbitControls) Calcs correct lookAt with matrixAutoUpdate false Nov 21, 2023
@CodyJasonBennett CodyJasonBennett changed the title fix:(OrbitControls) Calcs correct lookAt with matrixAutoUpdate false fix(OrbitControls): update lookAt when matrixAutoUpdate false Nov 22, 2023
@CodyJasonBennett CodyJasonBennett merged commit f35f76e into pmndrs:main Nov 22, 2023
3 checks passed
Copy link

🎉 This PR is included in version 2.28.7 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants