How to make a pawn move using the UCharacterMovementComponent?

So I created a Bot Pawn and a BT for him to patrol between two points, but for some reason he won’t move and I think the problem is related with the UCharacterMovementComponent that I created.
NOTES:

  • Beginner with C++.
  • I do have a nav mesh.

CharacterMovement = PCIP.CreateAbstractDefaultSubobject(this, TEXT("CharacterMovementComponent"));

Im not sure if this is the problem but i will point it out anyway i was checking out
https://docs.unrealengine.com/latest/INT/API/Runtime/CoreUObject/UObject/FObjectInitializer/CreateAbstractDefaultSubobject/index.html

and it had a remark regarding have the same name as the subobject.

Remarks Create optional component or
subobject. Optional subobjects may not
get created when a derived class
specified DoNotCreateDefaultSubobject
with the subobject’s name.

so like shorten the name and add “_01” or something like that if it works then u know where the problem is :slight_smile: hope that helps.