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"

Open/close two doors simultaneously? (More efficient way?)

I followed the tutorial https://www.youtube.com/watch?v=HJbHs_oNQsk on how to script a door that slides open when in proximity to it. I managed to adjust it to work on two doors moving in opposite directions but since I'm new to Unreal, I feel that there is a more efficient way. In the way I got it working, I used two trigger boxes. When I tried to use one, the doors opened but only the one on the right closed. Is there a way I can have the "reverse" on the Timeline for the door on the left to also work?

See pictures below. Higher resolution at http://imgur.com/Lo3nN

alt text alt text

Product Version: UE 4.10
correct.jpg (321.6 kB)
wrong.jpg (268.6 kB)
more ▼

asked Dec 22 '15 at 08:59 PM in Blueprint Scripting

avatar image

8 2 3

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

1 answer: sort voted first


Both doors are dynamic meshes? if one is settled to static it won´t move. Also, check if the doors aren´t colliding with anything, if they are, they will not move. Also, to your second Blueprint, use a Sequence to activate the reverse node for both doors, like this picture for example: alt text

doors.png (330.3 kB)
more ▼

answered Dec 22 '15 at 09:13 PM

avatar image

1.4k 54 21 60

avatar image MarkRowell Dec 23 '15 at 10:43 AM

Yes this worked :D

(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