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
Nemaš dopuštenje za pregledavanje privit(a)ka dodan(og)ih postu.
Avatar
Tomateche
  • Postovi: 34

Nate

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

Nate
  • Postovi: 11939

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.
Nemaš dopuštenje za pregledavanje privit(a)ka dodan(og)ih postu.
Avatar
Misaki

Misaki
  • Postovi: 763

Erika

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

Erikari
  • Postovi: 3082

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
Tomateche
  • Postovi: 34

mumu

Misaki je napisao/la: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
mumu
  • Postovi: 65

Misaki

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

Misaki
  • Postovi: 763

mumu

Misaki je napisao/la:@mumu I use here to compress GIF files: https://www.iloveimg.com/compress-image
Oh, really. Thank you so much. :D :D :D
Avatar
mumu
  • Postovi: 65


Natrag na Editor