Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

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!

Product Version: UE 4.19
more ▼

asked Sep 02 '18 at 08:10 PM in Using UE4

avatar image

1 1 3 5

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first


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

more ▼

answered Sep 02 '18 at 08:28 PM

avatar image

142 1 5 9

avatar image ThompsonN13 Sep 02 '18 at 09:09 PM

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.

avatar image DeimosPlayss Sep 03 '18 at 10:27 AM

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

avatar image ortroll Sep 03 '18 at 10:45 AM
  1. In project settings add a new collision channel: alt text

  2. Assign this channel to your walls: alt text

  3. In your character blueprint, grab your mesh and set collision response for your channel: alt text

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.

new-channel.png (78.6 kB)
character.png (71.4 kB)
custom-channel.png (174.8 kB)
avatar image DeimosPlayss Sep 03 '18 at 11:21 AM

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

avatar image DeimosPlayss Sep 03 '18 at 11:40 AM

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

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question