Topic was automatically imported from the old Question2Answer platform.
Asked By
Jutoend
I’m trying to make a moving platform with a KinematicBody2D and move it from code. It moves to right in a velocity but when it comes back to left, gets slower. Also, “direcao” means direction.
This is how I coded it.
If someone knows what is wrong in the code or some optimal way to do this, it would be very nice.
Thanks for help.