Page 1 of 1

object movement

Posted: Tue Nov 20, 2007 2:24 pm
by ktyrer496
please could you advise on how to move an object such as a ship with the keyboard in the irrlicht engine, and please could you tell us where the code goes as we are very amateurs!

Posted: Tue Nov 20, 2007 3:24 pm
by JP
Check out the tutorials, basically there's everything you need there!

Posted: Tue Nov 20, 2007 4:00 pm
by shogun
JP, your signature really makes me want to buy a larger monitor.

Posted: Tue Nov 20, 2007 7:01 pm
by rogerborg
shogun wrote:JP, your signature really makes me want to buy a larger monitor.
Yes, I swear it gets 2 pixels bigger every day. Adblock to the rescue!

ktyrer496 wrote:please could you advise on how to move an object such as a ship with the keyboard in the irrlicht engine, and please could you tell us where the code goes as we are very amateurs!
As JP says, basic key input is already covered in the tutorials. Please have a look through them, as that will help you to ask more specific questions, to which you will receive more helpful answers.

Also, please be aware that "where the code goes" is entirely up to you. Irrlicht is a 3d engine, with some very basic input functionality. It is not a full game engine, and it does not dictate your application architecture.

If you are planning to write a full game rather than just a simple demo, then I would suggest considering SDL or OIS for input, rather than using Irrlicht's built-in input.