MoveTo Some things are not smooth

I Creating prop bouncing motions for 2D games

The bouncing movement is implemented by finely changing the MoveTo value, but depending on the time, it may not be smooth, and in the case of multiple objects, it may not be smooth.

Anyone knows why this is happening and how to avoid it?

code:

    Start()<suspends> : void =

        set jumpForce = GetRandomFloat(JumpForceMin, JumpForceMax)

        set currentForce = vector2{ X := GetRandomFloat(InitForceXMin, InitForceXMax), Y := 0.0}
        loop:
            UpdateMove()

    UpdateMove()<suspends> : void =
        
        set currentForce = vector2{X:= currentForce.X, Y:= currentForce.Y + Gravity}
        toPos:vector3 = AddVector(GetTransform().Translation, currentForce)
        
        MoveResult := MoveTo(toPos, GetTransform().Rotation, 0.2)
        if (MoveResult = move_to_result.DestinationReached):
            OnMoveEnd()

    OnMoveEnd()<suspends> : void =
        tran := GetTransform()
        if(tran.Translation.Y >= FieldH):
            initPos:= vector3{ X := tran.Translation.X, Y := FieldH - 1.0, Z:= tran.Translation.Z}
                set currentForce = vector2{ X := currentForce.X, Y := -jumpForce}

Well the MoveTo is still kind of janky. I have done extensive testing and there is no way to completely eliminate imperfections. However adding Sleep() calls after each MoveTo() call can take care of the worst. Use Sleep(0.0) which sleeps for appx. 1 frame (not always exactly) and experiment with how many in a row you need to calm your transforms down. Usually I need two or three. Hope this helps

Is the video you attached captured immediately upon starting the session/game? I find there will be a period of up to about 30 seconds where it will be quite laggy, but this eventually settles and isn’t a problem in public islands. Your MoveTo duration is quite short.

thank reply

I tried Sleep(0.0), Sleep(0.0) * 2, Sleep(0.0) * 3, but the result did not change.
I hope EPIC Games will fix this bug

thank reply

I published the attempt of ↑ privately and tried it on PS5,
The result did not change. Also, the result was the same even if I left it for about 1 minute