librw icon indicating copy to clipboard operation
librw copied to clipboard

[Bug?] Camera rotation using `sk::CameraTilt` and `sk::CameraPan` makes the camera also rotate on Z axis

Open Davilarek opened this issue 5 months ago • 1 comments

Camera rotation using sk::CameraTilt and sk::CameraPan makes the camera also rotate on Z axis... The issue also appears in the built-in tools/camera example. Using these lines:

sk::CameraTilt(camera, nil, deltaY);
sk::CameraPan(camera, nil, deltaX);

I'm not sure if it's a bug in the engine or issue with my code somehow. Here's a video showing the issue.

https://github.com/aap/librw/assets/62715937/2c227285-3bcd-445d-992f-a47b4a1fba80

Davilarek avatar Mar 25 '24 18:03 Davilarek