Jump to content

start.ultra sees all mouse movements as y axis


Go to solution Solved by Canardia,

Recommended Posts

Posted

- 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:
image.thumb.png.d8f511db4b9ed85f5c54d1f128d42eae.png
- DOS window shows x,y coords OK
- Camera rotates only around x axis in start.map

Ryzen 9 RX 6800M ■ 16GB XF8 Windows 11 ■
Ultra ■ LE 2.53DWS 5.6  Reaper ■ C/C++ C# ■ Fortran 2008 ■ Story ■
■ Homepage: https://canardia.com ■

Posted

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.

My job is to make tools you love, with the features you want, and performance you can't live without.

Posted

It rotates 1000x for me when lookspeed is 1.0, but obviously I understood the meaning differently, so I will try 1000.0 next.

Ryzen 9 RX 6800M ■ 16GB XF8 Windows 11 ■
Ultra ■ LE 2.53DWS 5.6  Reaper ■ C/C++ C# ■ Fortran 2008 ■ Story ■
■ Homepage: https://canardia.com ■

Posted

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;

Ryzen 9 RX 6800M ■ 16GB XF8 Windows 11 ■
Ultra ■ LE 2.53DWS 5.6  Reaper ■ C/C++ C# ■ Fortran 2008 ■ Story ■
■ Homepage: https://canardia.com ■

Posted

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.

Ryzen 9 RX 6800M ■ 16GB XF8 Windows 11 ■
Ultra ■ LE 2.53DWS 5.6  Reaper ■ C/C++ C# ■ Fortran 2008 ■ Story ■
■ Homepage: https://canardia.com ■

  • Solution
Posted

I found out that GetMouseAxis() doesn't work on RealVNC/TightVNC connections.

Ryzen 9 RX 6800M ■ 16GB XF8 Windows 11 ■
Ultra ■ LE 2.53DWS 5.6  Reaper ■ C/C++ C# ■ Fortran 2008 ■ Story ■
■ Homepage: https://canardia.com ■

  • Canardia changed the title to start.ultra sees all mouse movements as y axis

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...