Hello. I have a sprite in a 2d that I want to move at a constant speed down a long the y axis. My object settings and code are below:
// In BodyPart.cs
public void FixedUpdate() {
Vector3 pos = transform.position;
pos.y -= 2f * Time.deltaTime;
transform.position = pos;
}
I have tried only setting the velocity of the rigidbody, but the jitter persisted. I have also tried moving the update code to LateUpdate and just Update, but this also does not fix the problem. The jitter is seems to be small and somewhat constant. What is the best approach to remove the jitter and have the objects move down smoothly.
