Hi,
I have an object which travels at constant speed. I have noticed the movement is a bit jittery and just destroys the look of my game. I have tried to check the interpolate in the inspector. This made the movement as I wanted but then the objects moves back a pixel or 2 every so often.
public Vector2 velocity = new Vector2(-2.1f, 0);
void FixedUpdate () {
if (isBackground == false)
{
rigidbody2D.velocity = velocity;
Destroy(gameObject,destroyTime);
}
}
I am simply doing this to move my object, but the movement is not smooth. Is there a better way to move my object and perhaps more mobile friendly?
Thanks