Iam new with irrlicht and want to make a little space game.
I hava a spaceship and a camera behind the Ship. I want that the spaceship moves forward and the direction should change by moving the mouse. (like going in a first person shooter where the player goes in the direction where the camera looks, but in this case third person)
After thinking about it I think there are two option:
- Move the Spaceship in the direction I want and let the camera follow him with seting the spaceship as the parent of the camera.(then I have to find I way how to move the spaceship with the mouse, also when the mouse reach the corners of the window)
- Use a camera as the parent of the spaceship. (Then I need a camera which act how described above)
What is the best way to solve my problem?
![Confused :?](./images/smilies/icon_confused.gif)
Thanks for help
Feuerstern