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"

How to attach animation to skeleton socket during attack anim only

Hi I'm currently learning to use Unreal to make an Inspector Gadget game.

one of the things I need to be able to do is attach items that come out of his hat for specific situations, the one I'm starting with is his gadget-mallet for melee attacks. I've animated the character and mallet as seperate items and need to attach the mallet to the stance during attack 1,2,3,4. what would be the best way to go about doing that please? the mallet and Gadget can be seen in the screenshot below. at the moment the attack anim plays but I need to attach the mallet anim/skeleton to gadget during the attack anim.

Also since I added the combo attack system, when I press play the character does the 1st attack automatically without my pressing the button. would anyone know what the fix is please?alt text

any help would be appreciated

Product Version: UE 4.14
Tags:
attack.jpg (105.2 kB)
more ▼

asked Apr 22 '18 at 07:48 AM in Blueprint Scripting

avatar image

JH55000
1 1 3

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

2 answers: sort voted first

I managed to do it with a visibility command in the blueprint for the contol, to turn visibility on/off as each combo move played and managed to do the scaling with Blender after all.

more ▼

answered Apr 27 '18 at 08:55 PM

avatar image

JH55000
1 1 3

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
  1. Create a socket in the Skeleton inside Unreal (lets say in his palm or wherever).

  2. Call it the prop socket

  3. Now when he pulls his hat, spawn the gallet and attach it to the prop socket you created. NOTE: You will have to attach this prop to the mesh of the character in order to access the bones/sockets.

  4. Play the gallet animation, it will now play the animation with relative to the prop socket.

To play around: Create a test socket in the skeleton, attach a cube to the mesh in the viewport, on the right hand side see the socket box and click on it and see if you can find the new socket that you created. That would be the way to go.

more ▼

answered Apr 23 '18 at 03:42 PM

avatar image

shrikky
218 6 9 12

(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