I’m overwriting CanBeSeenFrom in my Character class because I wanted to do more specific sight checks for the AIPerception system and because I needed to ignore certain classes/in-game objects when doing the line traces. Right now I have a smoke grenade object that when used/spawned makes my AIPerception system lose sight of any actors in or behind it. The smoke grenade has a bounding volume that has a custom collision preset but is also world dynamic. So is there a way I can specifically ignore that smoke class (or maybe the custom collision preset) in the line trace?
Also this is all in C++ so any help on that end would be appreciated. Thank you!