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"

Can I Reset a Constraint After it has been Broken?

Is it possible to reset a physics constraint after it has been broken?

Product Version: Not Selected
more ▼

asked May 07 '14 at 06:57 PM in Blueprint Scripting

avatar image

143 15 20 198

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

3 answers: sort voted first

I don't think this is currently supported. You could manually recreate the constraint in code. One issue I could see running into is that the body that was originally constrained might fall out of the world and get destroyed, in which case you'd have to recreate the body instance.

Can you tell me more about what you're trying to do? It might be easier to just respawn the physical asset

more ▼

answered May 07 '14 at 09:26 PM

avatar image

[Epic]Ori Cohen STAFF
1.4k 25 14 58

avatar image BoredEngineer Mar 17 '17 at 06:57 PM

Would of that mean that we need to destroy component too?

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

answered Jan 23 '15 at 09:32 AM

avatar image

541 22 26 43

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

you can use InitComponentConstraint() to bind exactly the same components again. just a little warning: of course it will bind in the new position they have now. if you want to use new components, or a new component, simply use SetConstrainedComponents. you might have to cast into UPrimitiveComponents from USceneComponent. This is a C++ solution. But also should work with similar functions in blueprint.

more ▼

answered Dec 06 '18 at 02:49 AM

avatar image

1 1

(comments are locked)
10|2000 characters needed characters left
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