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"

Attached static mesh doesn't move with Anim Montage

So I have a character with an weapon equipped, an static mesh attached to a socket. When I play an anim montage, in this case an attack, the staff only moves with the socket if you're currently walking when you play the anim montage. If you're standing still only the skeletal mesh/character plays the animation and the staff floats in place, not reconnecting to the socket until the anim montage is done playing, and it goes to the position the hand is in, in the idle animation.

Have tried spawning the static mesh and attaching it in blueprints, in the construction script and in the event graph to see if it would make a difference, and it doesn't, nor does adding it to the character blueprint as a component.

Product Version: UE 4.19
Tags:
more ▼

asked Jun 21 '18 at 11:34 PM in Blueprint Scripting

avatar image

Tifa
15 2 4 9

avatar image enearle Jun 22 '18 at 12:06 AM

Are you using blend per bone to play your montage over your walking anim?

avatar image Tifa Jun 22 '18 at 12:23 AM

They're not blended at all yet. I wanted to solve this problem first. Right now when you play the anim montage for the attack the blend space for walking just stops playing, and you slide (As if you were doing the anim stationary). The static mesh/weapon just only stays attached to the hand if you play the anim montage while moving, other wise if you do it while actually standing still it'll float in space before reattaching when the anim finishes playing.

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

1 answer: sort voted first

Just fixed this issue. Tracked it down to a change from UE4.18 to UE4.19/20 in USceneComponent::UpdateChildTransforms().

Caused when you have a skeletal mesh with a child skeletal mesh that is not attached to a socket and set to use it as its master pose component. The child/slave skeletal mesh will update its animation, but not its children.

This is fixed in UE4.21.

If you want to add the fix to a UE4.19/20 based project, this is the line you have to add

more ▼

answered Nov 05 '18 at 01:25 AM

avatar image

Kris
534 18 21 33

avatar image JohnADaniels Dec 12 '18 at 06:57 PM

Hey Kris, Do you think this is the same issue I am having?

https://answers.unrealengine.com/questions/857018/view.html

avatar image JohnADaniels Dec 12 '18 at 07:10 PM

I just added a socket to the elephant and then attached the tusk to the socket and it is working now. Before you did not have to add the tusk to a socket you could just attached them on the component section of the BP.

(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