jmorton06 / Lumos

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

Camera focus transition is now smoother #127

Closed adriengivry closed 11 months ago

adriengivry commented 11 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 11 months ago

Looks great!