Jump to content

start.ultra sees all mouse movements as y axis


Canardia
 Share

Go to solution Solved by Canardia,

Recommended Posts

- 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 ■

Link to comment
Share on other sites

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 ■

Link to comment
Share on other sites

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 ■

Link to comment
Share on other sites

  • 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.

 Share

×
×
  • Create New...