Walking through walls

Hi guys!
I am making The Flash fanmade game but I want my character to be able to walk through walls when I press a key. Is there a solution for that? Thanks!

You can change collision responses in blueprints to achieve this behavior.

yup collision response is the way to go. you could even make a new collision channel that everything in the world is set to ignore except the ground then set your character to use that channel while the button is pressed.

But in which blueprint do I do that? and how?

  1. In project settings add a new collision channel:

  1. Assign this channel to your walls:

  1. In your character blueprint, grab your mesh and set collision response for your channel:

252533-character.png

P.S. I highly recommend to visit official tutorials. They are super helpfull.
https://docs.unrealengine.com/en-us/GettingStarted

Don’t forget to mark this as answered if it solves your issue.

Okay I figured something out myself but how do I set the floor to block my character even when I’m “phasing” so I wont fall in to void

Okay I did everything I figured everything out but still thanks for trying to help!

DeimosPlayss how did you solve this?