I've got no idea why, I'm new to the 3D area, though I've made a nice pong in 2D.
I've compaired my code to working samples and I can't see the difference, but when I import their code it works normally, but as I said I can't see the difference.
So here it is
Before the loop is
and then