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 doesn't work in my blueprint

Hi everyone!

First, sorry for my bad english, i'll try to explain my problem as good as i can!

I used VRPlayerController blueprint for my project, but i made a new blueprint where i want to use the same node "Line trace for objects" to control which component of my actor blueprint is pointed.

In construction script, i "add static mesh" (the number the user wants).

The problem is: when i use the variable " get looking at component" from the vrplayercontroller, i have no problem/ He checks which mesh is watch and do the right action when i press a button.

But when i use it in my blueprint, it's like the line is passing through the mesh without giving any response. (but the mesh has correct collisions because with "Line trace by channel, i see the persistent trace channel hitting the mesh and not overlaping him)

I post a picture of my function "check hit actor", if you need more picture just ask for it !

Thanks a lot for your answers!alt text

Product Version: UE 4.7
checkhitactor.png (257.9 kB)
noresponse.png (252.7 kB)
more ▼

asked Jun 25 '15 at 09:43 AM in Blueprint Scripting

avatar image

6 1 3 3

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

1 answer: sort voted first

Allright i found out what's wrong.

In my actor blueprint, from the "Line Trace " node, i have the "ignore self" checkbox checked... Now it's work!

more ▼

answered Jun 25 '15 at 12:07 PM

avatar image

6 1 3 3

(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