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"

Destructible Mesh: Simulate Physics always true

In my project, I have motion controllers that allow the player to pick up objects in the world. I achieve this by attaching the object to the controller using AttachTo, setting Simulate Physics to false while the object is held so the user can move it freely, and restoring it when released. This works fine for StaticMeshes, but I'm having issues with Destructibles. They still seem to be simulating physics when held, even after Simulate Physics is set to false. I added a node directly after my Set node and it turns out that the simulate flag is immediately being set to true.

I suspect that there's something deeper in the destructible logic that's responsible, but I haven't had much luck in finding it. Thanks in advance!

Product Version: UE 4.10
more ▼

asked Mar 30 '16 at 07:46 PM in Blueprint Scripting

avatar image

16 1 2 3

avatar image ErrinMiller Sep 09 '16 at 07:25 PM

If, when you pick up the mesh it falls out of your hand, have you tried disabling Enable Gravity as well as Simulate Physics- turning them both back on after release?

avatar image Tamlin Aug 15 '17 at 01:02 PM

I'm experiencing this same problem. When a destructible is picked up, it keeps simulating physics "inside" its root component. When I rotate my hand while holding the object, it will move relative to the hand and follow the rotation etc, but will still fall down as well.

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

1 answer: sort voted first

In the Collision preset of destructible component set the preset to custom and ignore pawn. This will make the object to be pickedup without destructing it.

alt text

destruct.png (413.2 kB)
more ▼

answered Jul 24 '17 at 07:47 AM

avatar image

16 1 2

(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