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"

Does toggling Simulate Physics mess with PhysicalAnimation component, in packaged builds?


I've tried to follow the training stream for the 4.13 PhysicalAnimation component to get a bear flopping around when you grab and toss it in VR. Works great in the editor, but in a packaged build the object seems to just hang in the air when I try to let go of it with my Vive controller. I feel like this may have something to do with the way our game turns Simulate Physics on/off for an object when attaching/detaching it to the controller to grab/drop it. Per the stream's instructions, the teddy bear's BeginPlay event sets up the SkeletalMesh component of the PhysicalAnimation component to the bear's before calling the apply-profile and set-all-bodies-below-sim-physics nodes.

Since I have to set the simulate physics in this special way on start, does it no longer remember these settings if I've toggled the simulation as a whole with those grab/drop Set Simulate Physics calls? (And so, just need to call Set All Bodies Below again, I'd presume--would test this but I'm away from the hardware right now.)

Any help would be much appreciated, Ben Gibson

Product Version: UE 4.13
more ▼

asked Nov 11 '16 at 09:08 PM in Packaging & Deployment

avatar image

21 3 4

avatar image Matt.Williams Nov 16 '16 at 09:13 PM

Hey Ben,

As far as I've tested, yes it does. Would you mind showing me your setup?

-Matt W.

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

1 answer: sort voted first

Thanks for replying, Matt! It turns out the problem had to do with the way UE4 maintains its physics between the parent and child (specifically when the parent was set to None in an attempt to hide it and use the SkeletalMesh instead, or in the way that a child detaches itself from its parent when the child's physics sim activates), and not the packaging/physicsanim component. Took a little time to understand the distinction between Enable Gravity and Simulate Physics (what happens to the former when the latter turns on/off), as well. But insofar as the new physics profiles are concerned it did remember the profile after toggling its simulation.

Regards, Benjamin D. Gibson

more ▼

answered Nov 18 '16 at 03:06 AM

avatar image

21 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