KaijuEngine/kaiju

[EDITOR] Camera snaps when rotating in 3D

Open

#790 aperta il 10 mag 2026

Vedi su GitHub
 (5 commenti) (0 reazioni) (1 assegnatario)Go (194 fork)auto 404
editorgood first issue

Metriche repository

Star
 (4569 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

On any project, in the 3D editor view, when rotating the camera using right-click, the camera snaps in the direction of the cursor away from the center

To Reproduce

  1. Open any project
  2. Enter 3D View
  3. Right click the main window whilst currently moving the mouse
  • Note: This only occurs when actively moving the mouse. If you right-click, and then move your mouse, it functions as expected.

Likely cause Since the snap is proportional to the cursor's distance and direction from the screen center, the issue is likely that the engine believes you moved the cursor that far in the first frame.

A simple solution (if this is the case), is to simply ignore the first frame of rotation, letting the cursor first snap to the center.

Platform OS: Linux Mint Kaiju Version: Nightly (10th May 2026) - Windows Version (ran through Wine)

https://streamable.com/jba0sb

Guida contributor