Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Camera tracking has to catch up after using minimap/respawn/teleport #4

Closed
jesmores opened this Issue · 1 comment

2 participants

@jesmores
Collaborator

It's annoying having to wait for the camera to "run" back to the champion after you moved it manually w/ the minimap or you respawn (this might be fixed with #3 ) or teleport. Sometimes it might be dangerous because you won't have vision while it's catching up.

I tried to increase temporarily the lerp speed when the camera position is far away but it didn't work too well, I'll try again later tonight.

@Spl3en
Owner

About the respawn / teleport :
We can fix it by checking the champion position at the beginnning of each loop, and if distance(champion_old_pos, champion_cur_pos) > X (X = too far), reset camera = champion.

About the minimap, I think it is another issue, we should handle it differently :
We can fix this by saving the camera state when the left mouse button is pressed, and restore it when it is released ?

@Spl3en Spl3en was assigned
@Spl3en Spl3en referenced this issue from a commit
@Spl3en fix issue #4 a542770
@Spl3en Spl3en closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.