Page 1 of 1

some about keys

Posted: Sat Jan 14, 2006 12:38 pm
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 ? :(

Posted: Sun Jan 15, 2006 6:41 pm
by jimon
i need help !

Posted: Mon Jan 16, 2006 1:43 am
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"

Re: some about keys

Posted: Mon Jan 16, 2006 7:24 am
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.