First time poster. I’m wondering if anyone has a had a similar problem to me and can lend some input. I have a three,js map. It can be rotated around using a CatmullRomCurve3. On the map I have models that can be zoomed into by clicking on them. I have noticed that when i click on the screen while in zoomed in mode it will cause a problem. After I finish my tween zoomout the camera will jump to a random other position on the curve i set up as opposed to staying where i want it. If however I do no click on the window (excluding the back button) it will cause this jump. I spent all day trying to figure it out but I wasn’t able to. I would appreciate if anyone could lend some input.
I will paste my code for the animation part of my project. If anyone needs other details i’m happy to answer any questions. However I can’t really share all the code because work…
Thanks in advance for any and all input regardless of if it solves the problem or not. Ill lnk to my stackOverflow question as well since it has some code and more context for how the map is set up.
Stack Overflow Question