Speed Change Ability is not working

kkroglen

New member
I constructed a very basic behavior tree where the character agent is moving towards a target. Once it is within a certain distance, it should start running by triggering the startstopactivity (speedhchange) and continuing seeking towards the target.
The left selector is set with conditional self abort - once the within distance condition is fulfilled, it will abort the seek operation, return true and move on the the right branch of the tree, activating the speedchange activity and triggering the seek.

for some reason, the character doesn't start running although speedchange was triggered.

What am I doing wrong in the tree?

Attaching also a screenshot of the tree, the speedchange activity setup and the conditional abort on the selector branch.

behaviortree.PNG
 
Last edited:
It looks like the task is disabled so that is going to prevent the ability from being activated. Also if your character is not moving make sure you deselect Require Movement on the ability.
 
Top