Expansion of the Click and Move code from raycasting. Goal is to keep the ball on the platform.