Tomateche

Hello
I'm trying to animate a series of gears which drives a vertical rack at the end (I know,...my gears are drawn without logic, sketchy..., anyway, that's just to practice transform constrains, I'm noob )
The rack starts going down, okay, but then it slows down and goes back up.
I guess it's due to the rotation limit, but I don't understand the reason why... How can I get an animation with the rack going down only ?
testgears.gif

Capture d’écran 2022-03-30 à 20.00.07.jpg
Vous ne pouvez pas consulter les fichiers insérés à ce message.
Avatar de l’utilisateur
Tomateche
  • Messages: 36

Nate

It's not clear how you are moving the rack. Is that done using a transform constraint?
Avatar de l’utilisateur
Nate

Nate
  • Messages: 12129

Misaki

This is really interesting. I didn't know there was such a way.
gear-and-rack.gif

It seems that the constrained bone (in your case Rack) is going up when the target bone (in your case Gear5) rotates between 0-180 degrees, and down when it rotates between 180-360 degrees.

I still don't know if it is possible to make one bone move only downward as another bone rotates. Maybe Erika, our rigging master, may give you some advice.
Vous ne pouvez pas consulter les fichiers insérés à ce message.
Avatar de l’utilisateur
Misaki

Misaki
  • Messages: 1020

Erika

It is not possible, but this kind of constraint option was planned!
https://github.com/EsotericSoftware/spine-editor/issues/121
Avatar de l’utilisateur
Erika

Erikari
  • Messages: 3113

Tomateche

@Nate : Yes, I only use transform constraints. The rotation of Gear5 drives the vertical translation of the rack (until it reachs 180°, beyond it moves upside down).
I tried to combine other properties but it only works with rotation> translation (not translation > rotation)
Avatar de l’utilisateur
Tomateche
  • Messages: 36

mumu

Misaki a écrit:This is really interesting. I didn't know there was such a way.
gear-and-rack.gif

It seems that the constrained bone (in your case Rack) is going up when the target bone (in your case Gear5) rotates between 0-180 degrees, and down when it rotates between 180-360 degrees.

I still don't know if it is possible to make one bone move only downward as another bone rotates. Maybe Erika, our rigging master, may give you some advice.
Can you tell me what software you use to make this GIF? This pixel is very large, but its volume is very small。 :) :)
Avatar de l’utilisateur
mumu
  • Messages: 65

Misaki

@mumu I use here to compress GIF files: https://www.iloveimg.com/compress-image
Avatar de l’utilisateur
Misaki

Misaki
  • Messages: 1020

mumu

Misaki a écrit:@mumu I use here to compress GIF files: https://www.iloveimg.com/compress-image
Oh, really. Thank you so much. :D :D :D
Avatar de l’utilisateur
mumu
  • Messages: 65


Revenir vers Editor