KaijuEngine/kaiju

[EDITOR] Camera snaps when rotating in 3D

Open

#790 ouverte le 10 mai 2026

Voir sur GitHub
 (5 commentaires) (0 réactions) (1 assigné)Go (194 forks)auto 404
editorgood first issue

Métriques du dépôt

Stars
 (4 569 stars)
Métriques de merge PR
 (Métriques PR en attente)

Description

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

Guide contributeur