|
Post by Kejero on Feb 7, 2023 8:07:33 GMT
How to reproduce: - Add a camera target. Make sure the target is not positioned at (0,0). E.g. at (20, 0).
- RemoveAllCameraTargets()
- Optional step: MoveCameraInstantlyToPosition(25, 0)
- Add the camera target again, with duration larger than 0, e.g. 1
Expected behaviour: The camera moves from its current position to the target. If the camera was already positioned correctly, it shouldn't move at all. If the camera was repositioned, e.g. with MoveCameraInstantlyToPosition(), it should move from this position to the target.
What actually happens: The camera moves from position (0, 0) to the target.
ProCamera2D 2.9.4 Unity 2021.3.18f1 URP 12.1.10
|
|