My character has a reach point. I am using MoveToLocation (of AIController). This character needs to avoid other characters, so I have created AIController and set the constructor to:
To connect the character and the new controller - on the constructor of the character:
And when I need to move the character:
When I put 1 character in his way, he avoids it. But when I put 2 characters, well he avoids it but in a really weird way. I can not explain it so I have uploaded a video to describe it: https://www.youtube.com/watch?v=VMOOQXfNKxE&feature=youtu.be
He wrap to the other characters and slows down instead of walking from the side and NOT slowing down.
Moreover look at this: https://www.youtube.com/watch?v=tvYi5XEPXv0&feature=youtu.be As you can see when the a static object blocks its way, the character always looks at the target point and not at the path direction. This is not happans when I remove from the controller the UCrowdFollowingComponent. Why is that happening? Is it a bug?
It looks like you may have RVO avoidance enabled, you should disable this if you are using UCrowdFollowingComponent. It's a property of UCharacterMovementComponent, so in your character class, not controller class. Make sure that bUseRVOAvoidance is set to false.
If it already is disabled, or this doesn't help, you may need to adjust the configuration settings of the crowd following. I haven't played around with this yet, but there's some info here.
As for your second issue, I don't know but it looks like it may be a bug.
answered May 13 '15 at 09:16 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here