Hi, guys. Line tracing not working again… I need to create line from the crosshair along camera view direction. Center is camera socket - it’s easy. But when I try multiply this value on forward vector / world rotation, I get line from correct position to some incorrect side… This example is from the documentation. That’s why I completely don’t understand why it doen’t work. Please help ;(
hi,
you have to add the start position to the end position, multiply (vector forward * float) + start position.
hope this helps you
try this hope it makes sense, cant open unreal atm
Unfortunately, no( I did this in the very beginning, and now the line disappears at all after that…
if you take a simple float not a sign float ?
Oh, i’m idiot) I even didn’t know that there is difference between “sign” and no-“sign”.
It works. Thank you very much, have a nice day
no problem
you too
This topic has been moved from International to Programming & Scripting: Blueprint.
When posting, please review the categories to ensure your topic is posted in the most relevant space. This thread has been moved to help other devs with a similar question.
Thanks and happy developing!