Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rotating Camera2D doesn't stay on target #63738

Open
madmiraal opened this issue Jul 31, 2022 · 0 comments · May be fixed by #63773
Open

Rotating Camera2D doesn't stay on target #63738

madmiraal opened this issue Jul 31, 2022 · 0 comments · May be fixed by #63773

Comments

@madmiraal
Copy link
Contributor

Godot version

3.4.4

System information

Ubuntu 22.04

Issue description

With Camera2D rotating enabled, when rotating the player (the parent of the Camera2D) the camera should simply rotate with the target. However, sometimes the camera's position shifts drastically:
CameraRotationBug

Steps to reproduce

Make a Camera2D a child of your player. Make the camera current and enable rotating. Rotate the player and watch the camera position change drastically.
Note: I've only seen this happen with camera limits set. However in the MRP the camera limits are always outside the camera boundaries; so they shouldn't affect it.

Minimal reproduction project

CameraRotatingBug.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants