Answer the question
In order to leave comments, you need to log in
How to fix rotate3D animation in react?
Hello everyone, I'm making an animation in which the pictures should "follow" the cursor, but the pictures behave strangely, in some directions they turn normally, in some they almost don't turn at all. Help, please, how to fix, I definitely don’t notice something obvious in the calculations, the error is clearly somewhere in mathematics.
Here is the code: https://codesandbox.io/s/brave-khorana-ntpki
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question