Plonq / bevy_rts_camera

RTS-style camera controls plugin for Bevy Engine
Apache License 2.0
53 stars 5 forks source link

No way to reset camera smoothing #23

Closed juliohq closed 2 months ago

juliohq commented 2 months ago

Sometimes you might want to reset the camera smoothing (e.g. either when you add the RTS camera to your app or to position it manually via code), but there doesn't seem to be a way to do that right now.

Commenting out the following line fixes the first issue though: https://github.com/Plonq/bevy_rts_camera/blob/a3d6af349d758ba46df4886d9aa636386fe6f206/src/lib.rs#L189

The second issue is fixed by my recent PR.

Plonq commented 2 months ago

I will remove that line to fix the initialization. I have responded in the PR for the second part.

EDIT: fixed in 0.8.0

juliohq commented 2 months ago

Closing as fixed in 9c7260f7f92394934b0279ec186e9c421bfb336e.