Hi!
Should you create an UPROPERTY pointer in each AIController holding the current UCrowdManager or how is it supposed to be used?
Hi!
Should you create an UPROPERTY pointer in each AIController holding the current UCrowdManager or how is it supposed to be used?
You’re not supposed to be using UCrowdManager
directly. All you need to do is to have your AI controller use UCrowdFollowingComponent
rather then UPathFollowingComponent
. It’s the CrowdFollowingComponent that communicates with CrowdManager so you don’t have to
Look at this super simple tutorial if you need a code sample.
–mieszko
Okay I see. Thanks a lot!