This is my code if it helps.
if Input.is_action_pressed("ui_right"): apply_torque_impulse(Vector3(0,-1,0) * delta)
Can you elaborate a bit on what you're going for?