I know how many people have asked a similar question before, and I’ve read each one a thousand times, but this one is slightly different and I can’t figure out how to fix it, but I know the solution is probably very similar.
I have sprites with rigidbody2D, and a movement script attached, the script just makes them move in the negative y direction forever. Very simple movement.
void Update() {
float rigidVelocity = 100f * Time.deltaTime;
transform.rigidbody2D.velocity = new Vector3 (0, -rigidVelocity, 0);
}
For some reason, every second, it seems to move with jitter, then the next second it’s perfectly smooth, then the next second jitter, next second smooth. I have no idea why. Before, I was using a unity sphere and it was perfectly smooth, i switched to sprites and it became jittery, but the 1 second smooth 1 second jitter pattern confuses me. I’m sure it’s a super simple fix, but I can’t seem to figure it out.