Hello.

Maybe you can help me.
I have a question about creating an object in front of camera.
But far away. Exactly in the center of the screen.

Would this code be okay and right?

temp.x = camera.x + (quants away for example 20000) * cos(camera.pan);

temp.y = camera.y * sin(camera.pan);

temp.z = camera.z

Would this be exactly the center of the screen? Or is something wrong with temp.y or temp.z. I am not sure.