ACoreAgentCharacter should inherit from ICrowdAgentInterface and redefine theses functions:
FVector ACoreAgentCharacter::GetCrowdAgentLocation() const
{
return GetMovementComponent()->GetActorFeetLocation();
}
FVector ACoreAgentCharacter::GetCrowdAgentVelocity() const
{
return GetMovementComponent()->Velocity;
}
void ACoreAgentCharacter::GetCrowdAgentCollisions(float& CylinderRadius, float& CylinderHalfHeight) const
{
GetMovementComponent()->UpdatedComponent->CalcBoundingCylinder(CylinderRadius, CylinderHalfHeight);
}
float ACoreAgentCharacter::GetCrowdAgentMaxSpeed() const
{
return GetMovementComponent()->GetMaxSpeed();
}