Skip to content

Unable to Set Camera Inside 3D Model in ModelViewer #4836

Answered by elalish
akssieg asked this question in Q&A
Discussion options

You must be logged in to vote

This is, in fact possible - you just have to set the camera limits before you set the camera itself: https://modelviewer.dev/docs/index.html#entrydocs-stagingandcameras-attributes-minCameraOrbit

For inside-out viewing, I'd recommend min-camera-orbit="auto auto 0m" camera-orbit="auto auto 0m" orbit-sensitivity="-1"

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by elalish
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #4833 on July 15, 2024 18:42.