Hello Guest

Author Topic: Sprite basic translate is not smooth  (Read 3268 times)

quangtu89

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 18
    • View Profile
Sprite basic translate is not smooth
« 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 ?

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Sprite basic translate is not smooth
« Reply #1 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.