Character are jittery when using DetourCrowd vs AIController

Gnimmel
Sat, 19 Dec 2020 18:51:42 +0000
Character & Animation

I’m trying to get some AI characters chasing after the player, but I’m not having much luck getting this to look good.
I don’t think it makes too much of a difference, but I’m using C++ not blueprints.

If I use the AIController and move them with MoveToActor() using RVO, I get quite nice smooth motion and rotations and the AI movement looks quite nice. However, sometimes the AI will get stuck if it’s pushed off the navmesh.

If I switch the AI Controller Class to DetourCrowdAIController and turn off RVO, they don’t seem to get stuck anymore and find more interesting paths between each other, however the rotation is very jittery with the characters shaking right and left.

How can I get smooth rotation with the DetourCrownAIController?

6 posts - 5 participants