Hey guys!
So, I’ve been trying to make a 2D Platformer and I’m trying to make a dodge roll with i-frames where you roll through your enemies, kinda like Dead Cells. This is what I got so far from watching tutorials and buying courses online.
So what you’ll need here is a Set Collision Response to Channel node!
You’ll plug this in with your collision as your Target input.
I’d say one after the IsRolling bool is set to TRUE, and then another with the original response (Block or Overlap, whichever is the original) after setting IsRolling to FALSE. If you’re using another type of channel for your enemies, you’ll want to set the channel to the option the enemies are on for both of those
This way it’ll be 100% non-interaction between player and enemies.