Weird behaviour on Camera Rotation with Limits

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By LordKnickwitz

I’d like to program a 2D game where the camera rotates together with the character while still staying in it’s limits.
However when you create Camera2D node, set it’s limits to some value and start rotating and moving it (after setting “rotating” to true in the Inspector) some weird stuff happens!

A few examples:

  • When rotating the Camera2D node an then moving it, the Limits move with it (To view this go to the Inspector and check Editor/Draw Limits)
  • If the Limits are too close, the Camera moves on it’s own, when being rotated.

I’m not sure if this is a bug or if I just don’t understand how the Camera2D node works completely. I’d be grateful for any help regarding how to fix this ^^