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"

Is it possible to create a one-way door in a shut position that can be physics enabled?

So ive tried to create a basic hinged door that i want to only open in one direction. Ive set it so there is a trigger on the other side that when it detects the door it will disable its physics and the player can re-enable physics with E. What i would like is a way to set the door in a shut position but allow the player to open it using the physgun on left click. Any suggestions on a good one way physics enabled door with a shut position would be great. can i set the phys constraint to limit the rotation to just one side of the door? alt text

EDIT so i just had a thought, what about switching the physconstraint to lock, would that be possible?

Product Version: Not Selected
door lock.jpg (252.1 kB)
more ▼

asked Apr 05 '14 at 09:53 PM in Blueprint Scripting

avatar image

95 14 21 29

avatar image gotgrassct Apr 19 '14 at 08:44 PM

Hi, can you PLEASE tell me how did you create a hinged door?

avatar image Reactant Apr 19 '14 at 08:47 PM

Hey man the entire script is there, the main thing you need though is basically just a physics constraint component, making the door grabbable is a totally different ballgame

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

1 answer: sort voted first

So to partly answer my own question, and this just to help anyone aiming for the same thing. I set up a large trigger on the other side named Doorstop. Upon collision it checks to see if it was the door and if it was it sets the transform to the value it got at begin play, pretty much the closed position. Upon being in trigger pressing E releases the door and allows player to grab it with phys handle component i previously set up

alt text

more ▼

answered Apr 06 '14 at 12:26 AM

avatar image

95 14 21 29

(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