Problem with pull out animation

  • What are you attempting to achieve? (Keep it simple and clear)
    So, i want to make sword pull out animation. But there is a trouble, if i weld sword with Motor6D to right arm(so i can make pull out animated) it also moves sword when it is on back of player torso. And instead of pulling it out, sword just follows hand when it is not required. Here is video

    so sword should be on back of player torso
  • What is the issue? (Keep it simple and clear - Include screenshots/videos/GIFs if possible)
    I don’t really have idea and found nothing in devforum how to actually stop sword from moving before it is required. Only thing i came to is probably making 2 animations one before pull out and second after
    Is there any better way to make it stay still until required in animation?
2 Likes

is this going to be something in game? Like it’s on your back then you can take it out. Or is it just for an animation

1 Like

You could add the motor3d to moon animator, then enable/disable it when you want

1 Like

Yea you can take it out(it is tool)

1 Like

Oh. I never thought you can add Motor6D properties to Moon Animator. Thanks, i’ll try it

1 Like

in that case, do you have a system where the sword is on the players back? Or is it done with all animation.

If it is, you should probably make a system where you weld the sword to the players torso, then set the position to there back. Make an animation where the player reaches for the sword, then once it reaches

make a new weld to the players arm then position the sword to there arm

2 Likes

Yes it works as i want, thank you!

1 Like

Ok nvm. I just tryed to load this animation in game, and it doesn’t update properties of Motor6D on animation run. So like my hand moves, but sword is still welded to my torso. Maybe i’m loading it wrong?

you should probably do the second method i said

Hmm, i have an idea how to not break animation in 2 halfs. What if i swap welds on required keypoint with name, like detecting it while animation playing and when it get’s to pull out or something keypoint swap welds? You mean that?

1 Like

Yesss it works finally. Thank you very much for help!

1 Like