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"

Line trace only fires when both Pressed and Released (of LMB event) is connected to LineTraceForObjects

My line trace only fires when both the PRESSED and RELEASED function of the Left Mouse Button input event is connected to the LineTraceForObjects input.

Why doesn't it fire when only PRESSED in connected? Should there be an alternative event for released? And if so, what should it be?

Here's is the screenshot of my current blueprint: alt text

Product Version: UE 4.8
more ▼

asked Aug 02 '15 at 03:39 PM in Using UE4

avatar image

16 3 8 11

avatar image KITATUS Aug 02 '15 at 04:01 PM

I did this is one of my projects; Give me a moment to dig around and see what I did.

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

1 answer: sort voted first

Hm... Odd... Perhaps you need a branch on the hit or something. Or maybe put the Left Mouse Button in an InputAction or something - Take a look at my script and see if it helps you in someway: http://blueprintue.com/view/gZv1lLyt/

more ▼

answered Aug 02 '15 at 04:04 PM

avatar image

2.3k 98 84 398

avatar image Agletsio Aug 02 '15 at 05:32 PM

Hi thanks for the help.

But it seems that now it's suddenly firing. Pretty sure I didn't change anything so have no idea why it works now.

Now I'm wondering if you could maybe help me with another problem (posted it as another question)?:


(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