Unity has jerky motion when using Vector2.Lerp
Posted
by
Sting Hà
on Stack Overflow
See other posts from Stack Overflow
or by Sting Hà
Published on 2014-08-21T03:43:16Z
Indexed on
2014/08/21
4:20 UTC
Read the original article
Hit count: 195
I made a 2D game with some sprite move to random position. I used Vector2.Lerp and Time.deltaTime to smooth transfer of sprite.
When I build this game in iOS ( I used iPhone 4s and iPhone 5 for test ) all sprite made jerky motion and cause my game lagging. But in Android game run very smoothy.
I used only 9 sprite and move all in same time. Can someone have any solution to fix this? Thanks.
P/s: Sorry about my bad English.
© Stack Overflow or respective owner