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"

Drag out a line between objects?

Hi all!

I would like to create a system in my game where the player clicks and drags out a straight line from one object to another.

I'm not exactly sure how to go about rendering a simple straight line however. Does UE4 have any built in ways to render some sort of dragged out line? What I want is pretty much the same as the lines that connect blueprint nodes together, but completely straight.

Any tips on how to pull that off?

Thanks for any help :)

Product Version: Not Selected
more ▼

asked Dec 17 '14 at 03:58 AM in Blueprint Scripting

avatar image

45 20 21 23

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

1 answer: sort voted first

If you want something where you have quite large control about how it looks a beam particle system would work.

You can set two locations and the beam will behave accordingly. You have of course all particle settings to play with.

I hope this helps.


more ▼

answered Dec 17 '14 at 09:19 AM

avatar image

5.9k 291 86 293

avatar image Anslem Dec 17 '14 at 03:50 PM

Hmm, that's an interesting idea, I never thought of using a particle system for something like that.

Thanks a lot, I'll look into it.

(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