Translate speed keeps changing


thats the above code I’m using to move my Object, I also have code that changes the objects rotation. The more my object differs from its original rotation the slower it translates. How do I fix this?

fixed by giving the translate property to parent