Closed ybyygu closed 1 year ago
Hi @ybyygu! Glad you find it useful.
If I understand correctly, you are saying that you can't make the camera go upside down. There is a configuration for this, called allow_upside_down
, which is false
by default. Setting this to true should solve your issue. The advanced example shows how to set this option.
Can you confirm if this works for you? If not, could you record a video of the issue?
I tried your solution with configuration allow_upside_down
, but it is still not working as I expected.
Correction: It actually works!
When I repeatly rotate the molecule to the upside or the downside, the molecule cannot be rotated further. But if I rotate to the left or the right, it works.
Sorry, I just tried your advanced
example. It works. I am trying to fix the issue in my codes.
This issue is solved if I set allow_upside_down
to true. Thanks for your great work!
Glad you got it working!
I'm using this crate for molecule visualization in my project and I find it very helpful. Thank you for creating it!
I've encountered an issue that's titled. When I rotate in horizontal direction, it seems to be okay. I'm not sure if it's a feature or a bug.
This can be reproduced in example
basic
: