I cannot get filtered collision to work with my NPC

Hello,

I originally posted this in the character/animation channel here: I cannot get filtered Collison to work - #8 by ClockworkOcean

I’ve got a blocker with a new channel called npc set to overlap. My NPC has a collision object setting of npc and npc is set to overlap.

With all that said the npc is still blocked by the blocker.

I’ve tried this out in a 4.27 with a separate project and I can make it work there. I promoted the project to version 5 and it works there so the issue seems to be with my NPC in the project I’m currently working on.

Clockwork suggested I try migrating to a new project and that made no difference.

Does anyone have any ideas. I’m stopped from proceeding at this point due to this issue.

Thanks in advance,

Arthur

Are you sure there are no other colliding components on your NPC?

Hi zeaf,

The character mesh has colliding components but I’ve set it to ignore everything.

You can try using the collision debugger to see what is happening

My setup would be something like Player and NPC are both pawns, wall would be WallBlock, and NPC would just ignore WallBlock. I quickly tried now and it seems to be working fine. So make sure that you don’t have any colliding components, check the collision debugger and we can take it from there. Something that you might be forgetting about is that widget components also have collision enabled by default, so they might be blocking the wall. So if you have any healthbars or other widgets, take a look there as well

Hi Zeaf,

I set my wallblock, pawn and first person up the way you described and still no luck.

I didn’t even know there was a collision analyzer! :grinning:

Unfortunately every time I tried it in my project it crashed unreal. I saved everything and rebooted, but it still crashes every time I try it.

Thanks again for your help,

Arthur

Well it’s hard to say without seeing the full setup, but I would advise to check all components for collision and disable the ones that are not needed. If you can perhaps migrate the absolutely necessary parts to a new project and upload it somewhere I could take a look

Hi Zeaf,

I’ve actually done both of those things already. I’m uploading my entire project with test elements in it here:

There are two NPC’s. One is called NPC-BlockerTest and the other is called BP_Greeter_NPC.

The blocker test is for me to test this stuff. When you start the demo up just hit the R key and watch the TestNPC. He’s setup pretty much the same as the Greeter NPC. The Greeter NPC is my production NPC.

I put my project on dropbox here:

If you have any problems accessing the file please let me know at:

aaroberts@genspace.com

Thanks again for all of your help!

Arthur