You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When camCollision is disabled, camInitDir is initially ineffective.
Upon the first load, the specified camInitDir angle is not applied, and the default camera view is used instead. When the user tries to adjust the camera using the mouse, it immediately switches to the angle set by camInitDir, which feels awkward for the user.
Thank you for your package, it's excellent.
The text was updated successfully, but these errors were encountered:
@ErdongChen-Andrew Thank you for your response. Here's the situation: when you use camInitDir={{ x: 0, y: 1 }}, everything works fine, just like in your demo video. However, when you use camInitDir={{ x: 1, y: 0 }}, the issue I mentioned occurs. Additionally, I found that when I set camInitDir={{ x: 3, y: 0 }}, the viewport cannot move up and down. Could you try it and see? It's quite strange.
When camCollision is disabled, camInitDir is initially ineffective.
Upon the first load, the specified camInitDir angle is not applied, and the default camera view is used instead. When the user tries to adjust the camera using the mouse, it immediately switches to the angle set by camInitDir, which feels awkward for the user.
Thank you for your package, it's excellent.
The text was updated successfully, but these errors were encountered: