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"

mesh wont get hit by line trace by channel

Hi i have setup a first person game where when the player shoots it spawns an explosion. I have setup line trace by channel to do this. This works for everything in the level par the AI and i dont know why the debug just passes straight through and hits the mesh behind it. This is the ai alt text

This is the line trace by channel alt text

Product Version: UE 4.10
more ▼

asked Apr 23 '16 at 12:36 PM in Using UE4

avatar image

16 2 7 11

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

1 answer: sort voted first

Is the channel visibility checked in the ai's mesh or collision capsule collision settings?

more ▼

answered Apr 23 '16 at 01:34 PM

avatar image

199 9 12 28

avatar image Carrmaz Apr 23 '16 at 01:53 PM

I don't know how do I check i'm fairly new to unreal

avatar image r8ivy Apr 23 '16 at 02:58 PM

in the Ai your trying to hit select there collsion component and in the details panel there should be a collision second. if your trace is ment to hit them in the channel visibility then that channel need to be set to "block".

alt text

i hope that helps. if you have any more problems it might be worth looking over this article on the unreal blog. https://www.unrealengine.com/blog/collision-filtering

untitled-1.jpg (97.9 kB)
avatar image Carrmaz Apr 23 '16 at 03:16 PM

hey I tried that its didnt work however i did get it to work by changing both the trace responses visibility and camera to block. I also changed the trace bu channel to camera. Thanks for your 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