jmorton06 / Lumos

Cross-Platform C++ 2D/3D game engine
MIT License
1.21k stars 130 forks source link

Camera focus transition is now smoother #127

Closed adriengivry closed 7 months ago

adriengivry commented 7 months ago

Describe the issue (if no issue has been made)

The camera focus animation is fully linear, making it start and stop rather abruptly. It is also possible to move during the camera transition, which results into incorrect movements.

Default Updated
lumos-default-camera lumos-new-camera

Also updated the camera speed to be more consistent across CameraFocus invocations.

Additional context

Tested the camera movement in the editor by focusing several objects.

jmorton06 commented 7 months ago

Looks great!