You should be using code to set a parameter, not a trigger in the anim. For Instance, if your mecanim system has a bool called triggering, then you would use `anim.SetBool("triggering", true);`. Then you would have a transition in your mecanim system when that bool is set to true.
edit__ after reading more about Triggers, they seem to work like booleans except that are set to inactive after they happen. In that case, have you set up a transition to happen when the parameter becomes true?
↧