Hi,
my use ability isn't working as it should. So the first thing was to check with the animator monitor.
Here you can see that the Slot0ItemSubstateIndex is resetting to 0 before the OnAnimatorItemUseComplete event is fired.
After a long and frustrating search I think I finally localized the originator and it seems that it is the Puppetmaster integration.
When I disable the Puppet ability, it works fine.
Also, when I comment out the following lines in Puppet.cs under OnAnimatorSnapped()
I don't understand why the Slot0ItemSubstateIndex gets set to zero.
Maybe you have an idea what I can do to fix that?
Thanks for helping out!
my use ability isn't working as it should. So the first thing was to check with the animator monitor.
Here you can see that the Slot0ItemSubstateIndex is resetting to 0 before the OnAnimatorItemUseComplete event is fired.
After a long and frustrating search I think I finally localized the originator and it seems that it is the Puppetmaster integration.
When I disable the Puppet ability, it works fine.
Also, when I comment out the following lines in Puppet.cs under OnAnimatorSnapped()
C#:
foreach (Muscle m in puppetMaster.muscles)
{
m.joint.transform.position = m.target.position;
m.joint.transform.rotation = m.target.rotation;
}
I don't understand why the Slot0ItemSubstateIndex gets set to zero.
Maybe you have an idea what I can do to fix that?
Thanks for helping out!