Fixed the moving platform problem

Made the player a child of the platform it is standing on, works pretty
good, there is still some bugs with the collision detection though,
sometimes it doesnt register a collision with the player, I dont know
why