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"

How do I open a sliding door using a button with raycast/tracing?

Hey, everyone. Thanks in advance for any help I may receive. I'm currently trying to open a set of elevator doors (animated with a matinee) using a button next to the doors, like a call-button. I want this button to be intractable by using raycasting so that it retains some realism, but also requiring the player to be within a trigger box. Ideally, I'd like the player to enter the trigger, look at the button, and hit E. The doors would open, and would then close once the player is either inside the elevator, or has walked far enough away from it. I understand all the logic that goes in to making this, and if it were GameMaker, I could definitely figure this out for myself. However, blueprints are extremely confusing for me, and I don't quite get how referencing instances and functions in other blueprints works in this engine. Again, any help would be greatly appreciated, and I thank you in advance.

Here's some screenshots of my BP so far, as well as the map itself. http://imgur.com/75s0PpB http://imgur.com/Krj0gnw http://imgur.com/nKqiqBi

Product Version: UE 4.8
Tags:
more ▼

asked Oct 16 '15 at 05:52 AM in Blueprint Scripting

avatar image

LEEMakesGames
0 1 1

avatar image alperenakyuz Oct 16 '15 at 08:33 AM

I have a working elevator that is very similar to your design except for the trigger box part. I can share the blueprint version when I get enough time on my hands.

avatar image LEEMakesGames Oct 18 '15 at 06:08 PM

That'd be fantastic and greatly appreciated! Thank you!

avatar image alperenakyuz Oct 20 '15 at 12:55 PM

Hi there, I haven't forgotten about this, but I may not be available to do it until the weekend. Cheers.

(comments are locked)
10|2000 characters needed characters left

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