How to freely animate tools/items

hello, this is a tutorial for those who want a tiny bit of flexibility to animations

for example
a coinflip animation

Analysis

if we want to make a coin flip animation
there are 3 stages to coin flipping

  1. flip
  2. spin / mid-air
    Hn2i Hn2i_ GIF - Hn2i Hn2i_ Hn2i1 GIFs
  3. catch
Problem

like in most tool animations you would weld the tool/item to the hand
that’s fine and dandy for most normal animations, but
as we try to animate using this method it starts to crumble

flip hand

oh no the coin is stuck to the hand!
coin stuck to hand
reason being, we welded the coin to the hand thus there will be an offset as we try to animate it

then how about we use the weld the coin to the torso?
well first we have to move the coin to each keyframe where the hand moves and would be inconsistent throughout

but on one of the in between frames the coin inside the hand
image
we coulddd animate each and every keyframe positioning the coin so it looks just right, buttttt who would do that and plus thats alot of effort just to make it look smooth
you could, but its not recommended for back aching time keying each keyframe
image

Solution

how about we take the best of both worlds, and implement both methods?
tho the only down side of this is that blender can be intimidating to new users, and not as simple nor intuitive as roblox

Set-Up

-if readings not your thing then here’s a step by step video tutorial which shows the whole process of blender roblox animation plugin
https://www.youtube.com/watch?v=faUSlGZ7iko

Animating

Assuming, you followed the previous steps of this tutorial
now you’re able to animate using blender

after posing your character
Screenshot 2023-12-24 150725

add a child of constraint
first by going to bone constraints


next select the child of constraint
child of constraint

set the influence to 1
and also key it by clicking on the white dot
Screenshot 2023-12-24 152622

once the character is about to release the object, key the influence to 0
sometimes it breaks where the object does not stay in original position
https://www.youtube.com/watch?v=ul6dDAOc7zY&t=262s

if that’s too hard, then i highly suggest using this dynamic parent-child add-on on blender
GitHub - romanvolodin/dynamic_parent: Dynamic Parent addon for Blender
there’s an easy step by step video tutorial
https://youtu.be/_NqpO4Ht_9c?si=Ue7VQFwafB-K8uUO&t=27

i’ve ran into a problem which setting the inverse on a child on the same parent breaks
such as initial toss of coin and catching coin, theres a slight offset (not sure how to fix it)
-not the best solution, but i bake part of the animation for the object only, so im able to use the constraint again without hiccups

if you need any help, please leave a reply stating your issue and i’ll try my best to help
here’s the roblox place
coin toss animation.rbxl (67.7 KB)
here’s the blender file complete
coinflip.blend (1.2 MB)

13 Likes

I know I am reviving this topic but can I ask you something?

What if I weld the coin to the players arm but later on want to weld it to something else? Is that possible? Say the else is the other arm of the player.

1 Like

you sure absolutely can, just change the child of constraint to something else

Thanks for the reply but I was unable to understand on how I can do that. Are you able to show a short video showing how? (I am a bit new to blender rigging.)

this might be a bit hard to explain
but i’ve used this plugin to make things easier

first position the coin and set the parent to hand

2 Likes

I see, thank you very much! Now I do not have to make a complicated FPS framework!

Thank you a lot for this!

1 Like