x

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"

Level UI displays on button held? (Blueprint)

I am trying to create a UI system for an archviz VR project.

Basically, I need for a laser pointer to appear when I hold the trigger button. While the laser is on, I want my intractable objects (as well as transport locations) to become highlighted. A few questions about setting this up:

Is a gate node the best way to set up a 'hold down' system in BPs. I'm thinking I'd do an event tick into the enter, with a boolean opening and closing the gate? Is there a more efficient way to achieve this? Or is the event tick ok in this case is it will only be executing things while gate is open?

BP communication. Ugh, make my head hurt. Have to watch the official tutorials for the 11th time. Very basically, how would I best let all those intractable objects 'know' to highlight.

Where's the best place to put this BP code? The pawn? The level blueprint?

Thanks!

Product Version: Not Selected
Tags:
more ▼

asked May 15 '17 at 10:45 PM in Blueprint Scripting

avatar image

ian80
13 5 10 13

avatar image III47III May 16 '17 at 08:26 AM

I guess line tracing would work in this case. So whatever comes in to contact with the line trace will be the object that hits the line trace and from there you can get what hit the line trace and apply the highlight material to that object. This would all happen in the pawn actor. Here's a tutorial on different kinds of line tracing from the unreal website: https://docs.unrealengine.com/latest/INT/Gameplay/HowTo/UseRaycasts/Blueprints/

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

0 answers: sort voted first
Be the first one to answer this question
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