When a PhantomCamera2D is in Follow Mode Glued or Simple, the camera should, in some cases, also match the global rotation of the follow target.
Use Cases
One example would be a top-down racing game. Assuming the world is static and the car is the object moving around (and the camera is following the car), I may want the car to remain fixed in the middle of the viewport pointing up. The current behavior is that "up" (-Y) is always at the top of the screen.
(Optional) Proposed Solution
From a user perspective, I'd like to see a checkbox in the main section for enabling rotation matching. Conceivably there could also be some kind of damping specifically for rotation, but it could be nauseating so I'd personally turn that feature off.
Project Type
2D
Feature Description
When a PhantomCamera2D is in Follow Mode
Glued
orSimple
, the camera should, in some cases, also match the global rotation of the follow target.Use Cases
One example would be a top-down racing game. Assuming the world is static and the car is the object moving around (and the camera is following the car), I may want the car to remain fixed in the middle of the viewport pointing up. The current behavior is that "up" (-Y) is always at the top of the screen.
(Optional) Proposed Solution
From a user perspective, I'd like to see a checkbox in the main section for enabling rotation matching. Conceivably there could also be some kind of damping specifically for rotation, but it could be nauseating so I'd personally turn that feature off.
This may be related to #214.