Hello,
I have been fiddling around with the DetourCrowdAiController, not quite sure yet if my project is actually using it but I am banging my head in at these lines which I found here:
A new, community-hosted Unreal Engine Wiki - Announcements and Releases - Unreal Engine Forums2-_Avoidance
ADetourCrowdAIController::ADetourCrowdAIController(const FObjectInitializer& ObjectInitializer)
: Super(ObjectInitializer.SetDefaultSubobjectClass<UCrowdFollowingComponent>(TEXT(“PathFollowingComponent”)))
{
}
I don’t understand why I seemingly cant inherit from the DetourCrowdAiController directly (at least I didnt manage) but only from the AIController class in which I then have this constructor:
AMyAIController(const FObjectInitializer& ObjectInitializer);
that calls abovementioned code.
------------- edit -----------
and then to add to my question, how do I then actually access the methods of UCrowdFollowingComponent - it doesnt seem to be a static class - have I created an instance of the class with that strange Super() function ?