Hi there,
I need some help with my spaceship-code.
Everything works fine but I have still some problems with the camera.
I'd like to have the camera x quants higher than the ship. In the Game pan, tilt and roll changes. So
camera.z = a_ship.z + x;
surely won't work. If roll is 180 camera would be under the ship.
My question now is how I can set the camera position to a_ship.z+x in the Model-coords not the world-coords.
or
Is there any way to get the coordinates of a vertex?
Maybe I can attach the camera at one...
Kartoffel