marc.mitchell_ Posted July 18, 2018 Share Posted July 18, 2018 Hi, I want to set it so the mouse doesn't disappear when the user clicks on the app window while not over UI. I've seen the post linked below and tried -extern_define MOUSE_SOFT but this didn't change how the cursor behaved. We are developing a VR application and the screen shows the main menu and a spectator mode but i don't want the user to be able to click and hide the mouse cursor. How would i go about controlling the cursor behaviour to achieve this? Link to comment
marc.mitchell_ Posted July 18, 2018 Author Share Posted July 18, 2018 https://developer.unigine.com/forum/topic/4400-mouse-grab-release/?tab=comments#comment-22966 Link to comment
silent Posted July 19, 2018 Share Posted July 19, 2018 Hi Marc, Just tried with a newly created project an SDK Browser. Adding -extern_define MOUSE_SOFT prevents cursor from hiding in my case (AppVive). I've didn't changed default world script and command line arguments (except the adding the extern_define itself). Thanks! How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
marc.mitchell_ Posted July 19, 2018 Author Share Posted July 19, 2018 2 hours ago, silent said: Hi Marc, Just tried with a newly created project an SDK Browser. Adding -extern_define MOUSE_SOFT prevents cursor from hiding in my case (AppVive). I've didn't changed default world script and command line arguments (except the adding the extern_define itself). Thanks! Thanks, Tried again this morning and it works as expected. Not sure what happened there. Link to comment
Recommended Posts