object movement

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
ktyrer496
Posts: 15
Joined: Tue Nov 20, 2007 2:22 pm
Location: Preston, UK

object movement

Post 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!
JP
Posts: 4526
Joined: Tue Sep 13, 2005 2:56 pm
Location: UK
Contact:

Post by JP »

Check out the tutorials, basically there's everything you need there!
Image Image Image
shogun
Posts: 162
Joined: Wed Sep 05, 2007 11:02 am
Location: inside

Post by shogun »

JP, your signature really makes me want to buy a larger monitor.
rogerborg
Admin
Posts: 3590
Joined: Mon Oct 09, 2006 9:36 am
Location: Scotland - gonnae no slag aff mah Engleesh
Contact:

Post 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.
Please upload candidate patches to the tracker.
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
Post Reply