some about keys

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
jimon
Posts: 20
Joined: Sun Nov 20, 2005 7:46 pm
Location: Ukraine, Kiev

some about keys

Post by jimon »

How can I work on some hited keys together ?

and... I need function for scenenode -> GetAnimatorsCount() and GetAnimator(int num) !! :)

and... why when i use driver->draw3DLine(vector3df(0,0,0),vector3df(0,0,25),SColor(255,255,255,255)); line draw with black color ? :(
my english is very bad,sorry
jimon
Posts: 20
Joined: Sun Nov 20, 2005 7:46 pm
Location: Ukraine, Kiev

Post by jimon »

i need help !
my english is very bad,sorry
genesisrage
Posts: 93
Joined: Tue Feb 08, 2005 12:19 pm

Post by genesisrage »

look at the Bool Keys on the wiki, that will give you better control over what keys are pressed. then just have an if statement in your main loop that says "if pressing SHIFT and A then do something"
bitplane
Admin
Posts: 3204
Joined: Mon Mar 28, 2005 3:45 am
Location: England
Contact:

Re: some about keys

Post by bitplane »

jimon wrote:and... why when i use driver->draw3DLine(vector3df(0,0,0),vector3df(0,0,25),SColor(255,255,255,255)); line draw with black color ? :(
you need to do a driver->setMaterial(Material) or your line will use the last material that was used.
Submit bugs/patches to the tracker!
Need help right now? Visit the chat room
Post Reply