Line trace doesn't work in my blueprint
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!
asked Jun 25 '15 at 09:43 AM in Blueprint Scripting
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!
answered Jun 25 '15 at 12:07 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here