i try to connect my Custom-Button with an pressed-signal to a twoaxiscontroller of my object.
1.) i want to use keyboard as well as the button to control the object
2.) how gets the button connected to the twoaxiscontroller? i tried via the inputActionsToKeyCode function, as i do this with the keys successfully.
my Button looks very similar to the Button in the examples, except for the additional signals (and other colors ;))
my object holds the twoaxiscontroller.
all i want is to put 3 buttons to a HUD and let them control the object.
i also thought about using the joystick, but its not possible to turn and accelerate at the same time at full speed, so i use a multitoucharea in which those three buttons are located.
Core Question: how do i connect the Buttons to the object’s twoAxisController?