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"

Door gets stuck after adding a second constraint, dangles into frame with only one constraint.

Im adding a standard door from starter content into a doorframe from same. I want it to open when i come in contact with it physically opening when i push it and go back to being closed when im not touching it anymore.

When i try to add a physical constraint as a hinge using the frame as point 1 and the door as point two. When I only add 1 it dangles off the hinge through the frame and floor, if I add another hinge i cant move the door at all..

Help please? :)

Product Version: UE 4.12
Tags:
more ▼

asked Aug 08 '16 at 01:21 PM in Blueprint Scripting

avatar image

Simbaninja
1 1 1

avatar image Plosnita Aug 08 '16 at 01:27 PM

Seems like you enable physics simulation. Having one hinge and dangling is realistic. check: - Enable physics on your charcter - check mass

If you have a first person pawn you may not have any mass :D

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

1 answer: sort voted first

Instead of hinges, add a rotational constraint to it.

Attach something called a PhysicsConstraintComponent

Input the name of the actor of the door into Constraint Component 1

Lock/Free the axes until you get the result you want. For example, if you free X,Y and lock Z the actor can not move up and down. If you constrain them all it can not move in any direction, only rotate(I believe).

Hope this helps.

more ▼

answered Aug 08 '16 at 03:32 PM

avatar image

NoobsDeSroobs
2.7k 106 34 177

(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