By default, it will be impossible to pass through enemy characters, but when rolling, it would be possible to roll under enemies
Hey @Metallic_emperor!
So usually we need more info than that, but I think I know how to help you.
You want to get your capsule collider, and when you start your roll, take your capsule collider and use the “Set Collision Response to Channel” node with the Collider as the target, and set Pawn = ignore.
Then after the roll, use another “Set Collision Response to Channel” on your collider and set Pawn = block again.
What type of Mesh (Collision Presets) should the character and enemy have by default?
The one they come with, “Pawn”, is pretty usable. It can be custom fitted if need be, as you can create more presets and collision channels (Like say, “EnemyPawn” if you want a pawn setup that can be loaded onto every enemy that ignores invisible walls or something) by going to the top bar under “Edit → Project Settings” and search for “Collision”. I don’t think you need to use that though.
Ah, that’s because they’re set to base pawn. Click the dropdown and change pawn on the player to “Block”.
It will change the preset to “Custom” but that’s what the presets are, they’re just preset templates. Since the player character is just one actor this is fine.