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"

Waking up bodies of physic asset + skeletal mesh attached to socket

Hi all,

Well, I'm having positioning problems with some skeletalmeshes attached to the skeletal mesh of the character. I'm going to provide a video to clarify problem. https://www.youtube.com/watch?v=N7nQKh2NFoM&feature=youtu.be The character study case has those peculiarities.:

  1. Two axes (dark blue ones) as skeletal meshes attached to sockets.

  2. Apex Cloth (light blue).

  3. Character skeletal mesh (green one).

  4. The hair is a skeletal mesh (yellow one) attached to a socket. Like the axes.

  5. Two ornaments on chest (red one). It's movement is defined by a physic body of the physic asset of the character wich are waked up after spawn the character.

The problem is more noticeable when the frame rate decreases a big amount. To force that situation I'm just focusing another application different than the editor. From the second 24 to 38 the framerate decreases. As can be seen, both the hair and the weapons begins to suffer a bad positionning. This shouldn't be happenneing even with a low framerate.

To wake up the physic bodies, I'm just calling the BP method SetAllBodiesBelowSimulatePhysics giving the name of the hierarchy bones parent wich are going to be influenced by the physicbody of the physic. After that, I call SetAllBodiesBelowPhysicsBlendWeight giving the same bone name as before,and setting a value for PhysicsBlendWeight parameter to 1. Just to give the physics all weight over the animation.

alt text

The cloth is working perfectly even with a wind/fun set. But the attached skeletal meshes are not working as expected. This problem raises the physic bodies begin to simulate. If I set in SetAllBodiesBelowPhysicsBlendWeight a value of 0 (no physic simulation for physic bodies), the skeletal meshes attached works perfectly, even with a low framerate.

So, any ideas about what is hapenning?.

Thanks in advance, Juan

Product Version: UE 4.8
Tags:
more ▼

asked Dec 16 '15 at 11:16 AM in Using UE4

avatar image

Juanma.elx
39 3 5 14

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

1 answer: sort voted first
more ▼

answered Jun 20 '17 at 03:29 PM

avatar image

Juanma.elx
39 3 5 14

(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