Ogre Version: 1.12.11
Hello,
I'm new to Ogre and i'm trying to setup a proper camera.
I'm using the OgreBites::CameraMan and it works fine except.. that the mouse isn't catched by the window.
The camera follow the cursor's movements, but the mouse is still able to quit the window.
Do you know if their is a way to call the SDL_SetRelativeMouseMode() function, or to do the same job in a different way?
How to catch the mouse? Topic is solved
- sercero
- Bronze Sponsor
- Posts: 450
- Joined: Sun Jan 18, 2015 4:20 pm
- Location: Buenos Aires, Argentina
- x 156
Re: How to catch the mouse?
Hello,
I think you need to use:
https://ogrecave.github.io/ogre/api/1.1 ... fe8d530aa
Best regards.
I think you need to use:
Code: Select all
OgreBites::ApplicationContextBase::setWindowGrab()
Best regards.