This is a simulation of a rolling ball with friction. I still have to add the air resistance, but the roll friction is already finished. This project assumes the maximum roll resistance is achieved when the velocity equals 5 or -5 (opposite direction). The red arrow represents the friction and the blue arrow represents the acceleration you put on the ball.
I got the idea after I learned about this at school, I am very satisfied with the result and the air resistance still has to come! The transition between rolling and stopping the ball sometimes is a bit weird, I haven't found a way to stop that yet. !!!!!!!!The acceleration isn't in sync with the velocity change per second, this is because in scratch the time sometimes is out of sync since running the script also takes time in scratch. I tried to sync it, but then other problems occur!!!!!!!