[Bug?] Camera rotation using `sk::CameraTilt` and `sk::CameraPan` makes the camera also rotate on Z axis
Davilarek opened this issue · 1 comments
Davilarek commented
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.
2024-03-25_18-50-48.mp4
aap commented
Not entirely sure but I suspect it's correct. I don't really use that function, probably used it for porting some RW example. I have better camera things in my own programs, this for instance: https://github.com/aap/librw/blob/master/tools/playground/camera.cpp