Hi,
I’m developing a 2D infinite-runner for Android.
The image of the floor has a kinematic Rigidbody, and the enemy objects that come to the player too.
To move the floor and the enemy objects I use rigidbody.MovePosition in the Update().
It works nice in some Android Devices that I tested and in the Editor too.
The problem is that if I run the game in a low-end Android device, the floor and the enemy objects start doing kind of shakes, like if there was some sort of lag. Objects are not moving smoothly.
I tried everything I’ve read in other forum threads, like using transform.position, rigidbody.position, rigidbody.velocity, and I tried to put all of them in the Update() and FixedUpdate(). I tried also to make the rigidbodies interpolate and extrapolate.
How should I move the Kinematic Rigidbodies to make that movement smoothly?
Now it’s smooth in the editor and only in high-end Android devices.
Thanks!