I'm having a problem with the new unity input system, where if I remove the Arrow keys or the WASD keys the whole system for "move" stops working completely. But if I don't do anything, the player moves with both the WASD and Arrow keys, which I don't want.
I've tried following multiple examples on YouTube and nothing works, sometimes the example in the video doesn't work, I'm completely lost with this
Default Input actions config used
Here is the code as I've set it up to try use the Input Actions Script
private void ReEnabled()
{
playerControls?.Enable();
}
private void TearDown()
{
playerControls?.Disable();
}
private void Continues()
{
moveIncrement = playerControls.Player.Move.ReadValue<Vector3>();
lookIncrement = VectorMapping.VecterMapFrom2Dto3D(playerControls.Player.Look.ReadValue<Vector2>());
}
private void FixedContinues()
{
rBody.MovePosition(rBody.position + (MoveSpeed * Time.deltaTime * moveIncrement));
torsoComponent.Rotate(lookIncrement);
}
what I'm aiming to do it create a control scheme similar to that of The Binding of Isaac, where the WASD are your move controls, and the Arrow keys are shoot/look direction