Hi,
Hope you can help I'm trying to stop animation & also head bobbing in runtime on my player. The following (for animation stop) is not responding. I also struggle with the state system so was looking at a more easier solution.
Hope you can help I'm trying to stop animation & also head bobbing in runtime on my player. The following (for animation stop) is not responding. I also struggle with the state system so was looking at a more easier solution.
Code:
var characterLocomotion = m_Character.GetComponent<UltimateCharacterLocomotion>();
var StopanimAbility = characterLocomotion.GetAbility<StopMovementAnimation>();
characterLocomotion.TryStartAbility(StopanimAbility);
{
characterLocomotion.TryStartAbility(StopanimAbility);
}
}
}
Last edited: