Hey guys,
I started with modeling an easy 3D Character and wanted to use the Animation Controller. So far so good. I watched the mecanim tutorial and I used integer values but I just need to forward and back as well as idle.
Transitions:
Idle — WalkingState > 0.1 —> WalkForward
WalkForward — WalkingState < 0.1 —> Idle
Idle — WalkingState < -0.1 —> WalkBackward
WalkBackward — WalkingState > -0.1 → Idle
The only thing Unity tells me is:
index < m_BoolCount and no other concrete Exception or something like that.
In my script I just say SetFloat(“WalkingState”, Input.GetAxis(“Vertical”);
I can move backwards (sometimes) but mostly I just get the error above.
Do you know why this is happening?
Regards,
Matt