I created a new Ability called StopMovement and added it to my UCC abilities. The ability is enabled and start type is set to manual.
I am trying to start it in code but UCCLocomotion.TryStartAbility(stopMovement) returns false and is not activating.
The class code is just the DetectObjectAbilityBase wrapper
public class StopMovement : DetectObjectAbilityBase
{
}
I am trying to start it in code but UCCLocomotion.TryStartAbility(stopMovement) returns false and is not activating.
The class code is just the DetectObjectAbilityBase wrapper
public class StopMovement : DetectObjectAbilityBase
{
}