How can I add multiple sight configs to one perception component in c++? Whenever I add a second sight config, it just replaces the first one. How can I add more than one?
I’m trying to figure out a similar problem. So far all I’ve seen is this:
Basically I think you can change how many traces your doing by overriding this function “virtual bool CanBeSeenFrom(const FVector& ObserverLocation, FVector& OutSeenLocation, int32& NumberOfLoSChecksPerformed, float& OutSightStrength, const AActor* IgnoreActor = NULL)” by adding “IAISightTargetInterface” to your actor.
But I don’t fully understand it.