2D Toolkit Forum

2D Toolkit => Support => Topic started by: quangtu89 on September 27, 2013, 04:55:37 pm

Title: Sprite basic translate is not smooth
Post by: quangtu89 on September 27, 2013, 04:55:37 pm
My script
Code: [Select]
void FixedUpdate()
{
       this.transform.Translate(new Vector3(speed * Time.deltaTime, 0f, 0f));
}

i attach it to a square sprite . But it translate not smooth.
I tried use Premultiplied Alpha and PremulVertexColor shader .
I tried Vsync Count is Don't sync or Every vBlank and Application.targetFrameRate equal 60 or 30 .
But problem is not solved .
Can you help me ?
Title: Re: Sprite basic translate is not smooth
Post by: unikronsoftware on September 27, 2013, 11:26:47 pm
You should probably check with Unity about this issue you're experiencing - a lot of people seem to have similar problems, and some have never seen it.
http://forum.unity3d.com/threads/141417-Impossible-to-get-perfectly-smooth-motion-with-Unity

The sprite is no different to any other object in the scene, so definitely worth investigating this Unity thing further if you're affected.