Mouse in trampline

iversons

02-11-2006 10:28:33

In the trampline game, the mouse can move inside/outside the window. But our example does not enable this function. how can we make the mouse excusive with window.

iversons

03-11-2006 02:41:36

anyone knows? :)

walaber

03-11-2006 17:32:17

I was using SDL for input in that game, that's why I was able to do that.

iversons

04-11-2006 17:43:25

oh, great!

as i know, we have to modify the source from ogrewininput8.cpp directly to do the exculsive mouse..


I will try SDL Input, thanks walaber!

OvermindDL1

05-11-2006 23:47:44

Simple to do if using OIS, or Ogre Eihort (which switches to using OIS). Either way, you should learn OIS. :)