Excuse-me Robert I was wrong . My logic was wrong . God bless OSG :D
I fixed it look :
class KeyboardEventHandler : public osgGA::GUIEventHandler
{
public:
KeyboardEventHandler()
{}
virtual bool handle(const osgGA::GUIEventAdapter&
ea,osgGA::GUIActionAdapter&)
Hi Robert .
I m using osg to check keys but i cant use both two keys. i m trying do the
moves like Mario game where i can run and jump while running.
But with osg i press to run next i press the jump key while running but when
my "Mario" finish the jump I have to press run key again.
with SDL id un
HI Carlos,
What is missing from the osgViewer supplied events that requires you
to use SDL? Perhaps adding the functionality into osgViewer/osgGA
would avoid the need for extra complexity.
On the SDL front I've used for getting joystick events with an
osgViewer based application, but this doesn'
Hi all !
Please !
I m trying to use SDL to take keyboard events , but when my program runs is
apearing two windows . one of my OSG program and other black of SDL . when I
click in the black screen my OSG objects move in the other screen.
I only want to use SDL to keyboard because has the response
4 matches
Mail list logo