KaijuEngine/kaiju

[EDITOR] Camera snaps when rotating in 3D

Open

#790 opened on 2026年5月10日

GitHub で見る
 (5 comments) (0 reactions) (1 assignee)Go (194 forks)auto 404
editorgood first issue

Repository metrics

Stars
 (4,569 stars)
PR merge metrics
 (PR metrics pending)

説明

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

コントリビューターガイド