I’m still struggling to learn how to get characters to move with vector forces. I’ve watched videos of AI using AIController, Blackboard, and Behavior Trees. I wanna know if it is possible for AI to move simply through vector calculation similar to Craig Reynolds Steering Behaviors. Where would movement code like this go if possible? Within the Pawn Blueprint or Level Blueprint?
Is it possible to get the character to move in a direction with a given velocity starting from rest? Just getting it to move would be a nice first step for me. Thanks.
If you really wanted to do this via blueprint (even though a C++ movement component would be the recommended way to go) then it definitely needs to go into the pawn’s BP. It should actually be pretty easy to implement a vector-driven movement (via AddMovementInput), but it will not go along with AI movement (unless you make a movement component of your own). But that will be a start!
Custom CharacterMovementComponent would be the nicest approach (even if not most optimal one). Using PawnMovementComponent as a base should work as well - let me know if you try using it and encounter any issues.
Regarding class hierarchy - it’s all in the code and editor’s class viewer