1
$\begingroup$

I have this character:

enter image description here

He has an armature and an animation, and his sword, shown at the bottom, has to be loaded in separately. I tried to parent the sword to the armature. There's a bone and a vertex group labeled bn_r_weapon_melee01, and it looks like that's the correct bone, but during the animation, this happens:

enter image description here enter image description here enter image description here

It looks like the sword is moving and rotating MOSTLY properly, but it's offset from the character's hand incorrectly. How can I fix this?

$\endgroup$
13
  • $\begingroup$ Hello could you please share the armature and the sword (no need for the robot object)? $\endgroup$
    – moonboots
    Commented Nov 4, 2023 at 16:33
  • $\begingroup$ Can I just upload a .blend file? $\endgroup$ Commented Nov 4, 2023 at 16:48
  • $\begingroup$ Sure, that's what I meant, but you can remove the robot mesh if you prefer not to share it $\endgroup$
    – moonboots
    Commented Nov 4, 2023 at 16:50
  • $\begingroup$ I'm trying to figure out how to pare down the file to get under Blend-Exchange's 30MB limit. I want to delete the robot's mesh but leave the armature and animation alone. $\endgroup$ Commented Nov 4, 2023 at 16:56
  • $\begingroup$ or use another platform like workupload and share the link $\endgroup$
    – moonboots
    Commented Nov 4, 2023 at 17:00

1 Answer 1

0
$\begingroup$

Parent the sword to the empty called attachment_r_02 and move the sword until the hand grabs it and it seems to work pretty fine. If the sword disappears it's because the empty scales down, change its keyframes if you don't want that.

enter image description here

Other method, select your sword, shift select the robot object, switch to Edit mode, select 3 vertices of its palm and Ctrl > Make Vertex Parent:

enter image description here

Correctly place the sword in the hand:

enter image description here

$\endgroup$
2
  • $\begingroup$ That looks right, but it doesn't work for me. The sword has a bunch of incorrect rotations and locations for about 40 frames, and then it disappears. It also starts in the wrong position. $\endgroup$ Commented Nov 4, 2023 at 18:19
  • $\begingroup$ in that case use another method like parenting the sword to 3 vertices of the hand, I'm going to edit $\endgroup$
    – moonboots
    Commented Nov 4, 2023 at 18:23

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .