Godot Version
4.2.1 stable
Hi,
I have some RigidBody3D helicopter code that works with my controller but won’t accept input from more than 2 keyboard keys at a time. The result is smooth turning with a controller (dual analog stick) but not via keyboard. While pressing W it won’t allow both A (left strafe) and Q (turn left), only one of them. I can also strafe and turn but then not move forward or back. While I could make a workaround I’d rather understand why it isn’t working.
In _process I have
if !waiting and engine_on:
thrust = Vector3.ZERO
thrust.z = -Input.get_axis(“W”,“S”) #cyc_pitch
thrust.x = Input.get_axis(“D”,“A”) #cyc_pitch
thrust.y = -Input.get_axis(“Z”,“X”) #col_pitch
rudder = Input.get_axis(“Q”,“E”) #yaw
It doesn’t work in _physics_process either.
Also, sorry for not knowing how to insert a code block…
Thanks in advance, anyone?