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"

[Closed] Line Trace By Object is not ignoring BP actor class

Hi Guys

I´m trying to make the Butterfly Blueprint ignore the Fog_Sheet Blueprint and DON´T land on it.

I set to ignore the Fog in the line trace, but it is not ignoring the fog. Is a bug or am I doing something wrong?

See picture of the Butterfly Blueprint:

alt text

Both assets can be found in the "Blueprint Content Example" if you want to replicate it

Thanks in advance for any help!

Product Version: UE 4.10
Tags:
more ▼

asked Jan 21 '16 at 08:19 PM in Blueprint Scripting

avatar image

FilipeTessaro
1.4k 54 21 60

avatar image Matthew J Jan 21 '16 at 09:08 PM

Hello FilipeTessaro,

I was unable to find those particular blueprints but I set up two cubes in a project and used those as my two line trace objects, one set to be ignored and the other the target. Upon doing that I set up the same logic you have here and it seems to work correctly. To ensure that the line trace is hitting the Fog Layer and not something else, can you try using the hit result you get from the line trace to cast to the fog layer's blueprint class from the "Hit Actor" pin? You could just put a simple print string to test it. Also, try setting the Draw Debug Type to Persistent so that you can see where it is hitting.

avatar image FilipeTessaro Jan 21 '16 at 09:39 PM

Hi Matthew!

Thanks for reply me. Here was where I found both BPs:

alt text

The butterfly BP detects colision near by using the line trace, and the line trace is hitting the fog, even when I set it to ignore the fog.

bp content.png (1.5 MB)
(comments are locked)
10|2000 characters needed characters left
Viewable by all users

The question has been closed Jan 22 '16 at 03:41 AM by FilipeTessaro for the following reason:

The question is answered, right answer was accepted


1 answer: sort voted first

Hi Matthew!

I Found it!!

The butterfly BP line trace for object is hiting the "Foliage Procedural Volume" because the butterlfies are inside that volume, that is where the foliage are too.

The procedural volume is set to ignore all collision, but it was colliding with the butterflies. Now I set it to NO COLLISION and everything is fine!

Sorry for bother you guys about it, it is not a problem in the line trace, it is just the default settings for collision of the procedural foliage volume that we need to set to no collisions.

Thanks anyway!!!

more ▼

answered Jan 22 '16 at 01:08 AM

avatar image

FilipeTessaro
1.4k 54 21 60

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

Follow this question

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

Answers to this question