Hi salot_. Go inside the project to see the comments I left you. It explains what everything in the code does. I hope that it helps!
For another scratcher - wanted bouncing physics