Block NPC from area, not the player

Hi for VR to teleport we use the navmesh. I want to block the NPC from some areas that are still accessible to the player. Regular collision blocks both.

You can use blocking volumes and update the collision settings in the details.
Give the NPCs a collision channel that you can then block in those settings.
Ignore the channel of your player there.

Thanks for quick answer. But how to give NPCs a collision channel? You mean the preset collision?

You have to configure the collision of their capsule (if they are characters, if not, they should have some other type of collision geometry set).

Set the object type there, and set a proper response in the blocking volume for the given object type collision settings.

Create a new Object channel in your project settings. I created as an example “Enemy” here.
Assign this channel to your NPCs (in the collision settings of the capsule).

Next, drag a blocking volume into your leven and configure the collision there. Set it to custom and ignore all channels except the “Enemy” channel.

They have collision capsules - the preset is character mesh. The proper response in the blocking volume would be also character mesh???

interesting - that doesnt work for me at all is it possible to see the settings on the characer?