AxlLind / Strive

Infinite jumper mobile game created in Unity.
6 stars 1 forks source link

Jerky movement on mobile #30

Closed AxlLind closed 7 years ago

AxlLind commented 7 years ago

When using the gyroscope acceleration the movement is really jerky and feels bad.

AxlLind commented 7 years ago

Could probably be fixed by using linear interpolation between the last and current input to smooth this out?

AxlLind commented 7 years ago

Started on fixing this with lerp. The lerp-value, currently set to 0.1f, might need tweaking. I wouldn't call the fix finished though. It made it better but it still looks a bit bad when doing small movements on mobile, see commit message.

AxlLind commented 7 years ago

Basically fixed in #41