These changes which may also be relevant for the others. Perhaps it is possible to consider them for the next updates.
Alternatively, the condition can also be in the animator.
Maybe in combination with the Hardlandings Ability.
Roll.cs
Alternatively, the condition can also be in the animator.
Maybe in combination with the Hardlandings Ability.
Hard landing Ability
Hi. I made a hard landing ability, what is play the hard landing animation if the character falls from a tall object. using UnityEngine; using Opsive.Shared.Events; using Opsive.UltimateCharacterController.Character.Abilities; /// /// The Hard landing ability allows the character to play a...
opsive.com
Roll.cs
Code:
private void OnCharacterLand (float fallHeight)
{
// The ability can start automatically if the character lands from a large fall height
if (m_RollFallHeight == -1 || fallHeight <m_RollFallHeight) {
return;
}
if (m_AnimatorMonitor.ForwardMovement < 0.1f) //The sensitivity can also be implemented as a property
{
return;
}
Last edited: