x

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. 

Line trace through a character always returns false

Hi, I'm trying to use line trace by visibility channel through a character but the result is always false. See the screenshot.

line trace screenshot

Obviously the line pierces through the left character. Below is the collision preset for capsule componet of that character.

collision preset screenshot

The "Line Trace by Channel" has the following set:

  • Trace Channel: Visibility

  • Trace Complex: false

  • Ignore Self: true

What am I doing wrong?

Thanks.

Product Version: UE 4.7
Tags:
tracing.png (588.8 kB)
more ▼

asked May 23 '15 at 12:47 PM in Blueprint Scripting

avatar image

bogusabuser
5 5 5 6

avatar image Narghile May 23 '15 at 12:50 PM

Hi Mate

Is this collision setup on Mesh or Collision capsule?

Narg

avatar image bogusabuser May 23 '15 at 01:04 PM

Like I stated above this is the collision preset for the capsule componet of the character.

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

1 answer: sort voted first

hello trace visibility should be checked in the pawn collision presets. if you trace for visibility channel the other Actor need to block visibility channel :)

Update: sometimes editor bug when changing collision channels in Blueprint for actors already inside world try delete and drop again .

Have fun

more ▼

answered May 23 '15 at 02:44 PM

avatar image

Bn_Green
78 7 9 16

avatar image bogusabuser May 23 '15 at 03:59 PM

You were right, I deleted my character from the level and added it again and it worked. Thank you.

It would be great if this is fixed.

(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