Interestingly I have the same problem as I am building the ship from scratch again to find some bugs.
In my working code I have a custom PlayerInput class which does nothing related to the mouse.^^
My Controller class passes the aMouseX and Y to the ship every tick.
You have to tweak the 20s of course.
I'll post here when I found out whether there is an easier way and if the mouse input depends on other things, too.
In my working code I have a custom PlayerInput class which does nothing related to the mouse.^^
My Controller class passes the aMouseX and Y to the ship every tick.
Code:
Ship.SetInputs2(PlayerInput.aMouseX / 20, -PlayerInput.aMouseY / 20);
I'll post here when I found out whether there is an easier way and if the mouse input depends on other things, too.
Comment