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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

How do I make a Door that uses real-time Physics?

I Want to physically PUSH the door open when my character collides with it.

alt text

alt text

Product Version: Not Selected
Tags:
door.jpg (119.5 kB)
door2.jpg (268.1 kB)
more ▼

asked Apr 19 '14 at 08:17 PM in Using UE4

avatar image

gotgrassct
222 47 62 78

avatar image SND R Keene Jun 27 '15 at 05:38 PM

Same problem. My door just goes flying away when I collide with it. The hinge is not 'constrained'

avatar image Benno Salmeron Feb 26 '19 at 05:32 PM

Same here!

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

4 answers: sort voted first

Yes we solved it but not that way. Instead we turned off all physics on the door, and caught all the hit, begin overlap etc, and calculate d all the physics. This gave us ultra-precise control over how doors acted, such as mouse grab, peaking holding door, Zombies colliding and pounding on doors and such. Doors have a 'closed' local rotation angle, 'open' rotation angle, and we constrain them directly that way.

more ▼

answered Mar 08 '17 at 05:10 PM

avatar image

SND R Keene
963 31 118 112

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

Constraint door using hinge and don't forget to enable physics simulation on the door.

more ▼

answered Apr 19 '14 at 08:38 PM

avatar image

BiggestSmile
1.6k 54 38 105

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

Thank you for your reply. Can you give me a more detailed explination? how do i constraint the door to a hinge? i've tried attaching the physics simulated door to a hinge, but it tells me i can't have a child that has physics on it.

avatar image BiggestSmile Apr 21 '14 at 10:49 AM

Create blueprint based on actor, add your door as static mesh component, then add PhysicsConstraint component and set its properties as needed, that's all, pretty much.

avatar image Filoppi Mar 29 '15 at 11:14 AM

Hey, may i ask you if you managed to do the door correctly with Constraint after all this time? I managed to create one and only allow movement on one axis, but sometimes, when the applied forces are not perpendicular or exceed it's angle limit, it goes crazy and rotate on other axes as swell.

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

I think you are looking for something like a rigid body: https://www.youtube.com/watch?v=NfV6Xyz_tFI

more ▼

answered Apr 19 '14 at 08:27 PM

avatar image

fighter5347
5k 160 21 144

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

I Already know how to create rigid bodys, but when i simulate physics on my door, when i collide to it it just goes all over the place. I Need to know how to create a hinge for the door so it can stay in one place and act like a door, but with physics.

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

Hey, did you solve this problem? I'm in the same situation and it would be nice to know the solution. Thank you so much!

more ▼

answered Mar 07 '17 at 09:39 AM

avatar image

j0s3m4
5 4 3 4

(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