I have created a new 2D project and I have a single sprite in the scene with a BoxCollider2D and a Rigidbody2D.with gravity scale set to 0.
and the Rigidbody2D’s interpolate is set to “interpolate”.
I attached the script below to this game object:
using UnityEngine;
using System.Collections;
public class TestGo : MonoBehaviour {
void Start () {
Rigidbody2D rb = GetComponent<Rigidbody2D>();
rb.velocity = new Vector2(10, 0);
}
}
the problem is that when I click play,the game object moves with a constant velocity but it vibrates and lags from time to time,I expected with setting interpolation to “interpolate” the problem would be fixed,but it still remains
Does any body know how shoud I fix this?
FYI, I am using Unity 5.3.4p3 with a personal licence,and my target device is Android.
tnx in advance.