I’m getting tired of absence of smoothness when application is playing. I’ve tried yet another test to check if it just me doing lame scripts.
Create new project, add one directional light and one cube in it. Scale cube 4 times big. Then create a script (one of ‘JavaScript’, because what if C# is the issue?) and write there:
#pragma strict
function Update () {
this.transform.Rotate(0, 0, 90 * Time.deltaTime);
}
Put it on the cube. This is it, now you could:
- Run it in editor
- Build an android apk and run it on a device (I’m using Tegra3-equipped one)
- Build a standalone app and run it separately.
Tracking cube rotation with your eyes you will (or will not) see periodic twitching. It is not too (but still) noticeable on my i5 CPU, but very noticeable on Android. Such a simple scene, what could be wrong and make it not to run smoothly?
And in real application, when there is actually some work to doo, it became even more annoying. Small twitches but ruins all smoothness.
How could I handle it?