Canardia Posted December 7, 2023 Share Posted December 7, 2023 - AMD Ryzen 9, Radeon RX6800M laptop - Made new project from Ultra Engine Client - Changed Lookspeed to 0.001 in Ultra Engine - Added this line to the end of main loop: Print(WString(window->GetMouseAxis().x) + WString(",") + WString(window->GetMouseAxis().y)); - Screenshot: - DOS window shows x,y coords OK - Camera rotates only around x axis in start.map Quote ■ Ryzen 9 ■ RX 6800M ■ 16GB ■ XF8 ■ Windows 11 ■ ■ Ultra ■ LE 2.5 ■ 3DWS 5.6 ■ Reaper ■ C/C++ ■ C# ■ Fortran 2008 ■ Story ■ ■ Homepage: https://canardia.com ■ Link to comment Share on other sites More sharing options...
Josh Posted December 7, 2023 Share Posted December 7, 2023 Why are you increasing the look speed 1000x it's normal value? When I do this, the camera rotates around wildly for every little movement. Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Canardia Posted December 8, 2023 Author Share Posted December 8, 2023 It rotates 1000x for me when lookspeed is 1.0, but obviously I understood the meaning differently, so I will try 1000.0 next. Quote ■ Ryzen 9 ■ RX 6800M ■ 16GB ■ XF8 ■ Windows 11 ■ ■ Ultra ■ LE 2.5 ■ 3DWS 5.6 ■ Reaper ■ C/C++ ■ C# ■ Fortran 2008 ■ Story ■ ■ Homepage: https://canardia.com ■ Link to comment Share on other sites More sharing options...
Josh Posted December 8, 2023 Share Posted December 8, 2023 At that level it's impossible to even tell what is happening. Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Canardia Posted December 9, 2023 Author Share Posted December 9, 2023 The x,y values of GetMouseAxis() keep growing each time I move the mouse. No matter if I move left, right, up, down, they only increase. When I added this, the camera shakes even if I don't touch the mouse: newmousepos = window->GetMouseAxis() - oldmousepos; oldmousepos = newmousepos; Quote ■ Ryzen 9 ■ RX 6800M ■ 16GB ■ XF8 ■ Windows 11 ■ ■ Ultra ■ LE 2.5 ■ 3DWS 5.6 ■ Reaper ■ C/C++ ■ C# ■ Fortran 2008 ■ Story ■ ■ Homepage: https://canardia.com ■ Link to comment Share on other sites More sharing options...
Canardia Posted December 11, 2023 Author Share Posted December 11, 2023 On my Intel Core i7+nVidia T1200 laptop the GetMouseAxis() function works properly and the x,y coordinates go up and down as I move the mouse in each direction. Quote ■ Ryzen 9 ■ RX 6800M ■ 16GB ■ XF8 ■ Windows 11 ■ ■ Ultra ■ LE 2.5 ■ 3DWS 5.6 ■ Reaper ■ C/C++ ■ C# ■ Fortran 2008 ■ Story ■ ■ Homepage: https://canardia.com ■ Link to comment Share on other sites More sharing options...
Solution Canardia Posted December 12, 2023 Author Solution Share Posted December 12, 2023 I found out that GetMouseAxis() doesn't work on RealVNC/TightVNC connections. Quote ■ Ryzen 9 ■ RX 6800M ■ 16GB ■ XF8 ■ Windows 11 ■ ■ Ultra ■ LE 2.5 ■ 3DWS 5.6 ■ Reaper ■ C/C++ ■ C# ■ Fortran 2008 ■ Story ■ ■ Homepage: https://canardia.com ■ Link to comment Share on other sites More sharing options...
Josh Posted December 14, 2023 Share Posted December 14, 2023 Okay, another reason to switch the component to using processed mouse events. Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.