playMaker

Author Topic: Slider Crank Mechanism "Angle between two objects" [SOLVED]  (Read 1782 times)

LordHorusNL

  • Beta Group
  • Full Member
  • *
  • Posts: 226
Slider Crank Mechanism "Angle between two objects" [SOLVED]
« on: October 12, 2017, 05:38:01 PM »
Hey guys, i'm working on a "Slider-Crank" mechanism and having some trouble.

I move the "Back Arm" and the entire setup moves with it, however i cant seem to get the "Front Arm" to rotate as if it had two fixed points of rotation "Points a/b"

Both arms rotate offcourse and the carriage move on the z axis only.

So basically i need a rotation between two objects. I tried every action i could think of but nothing gives a perfect result.



Any ideas?
« Last Edit: October 14, 2017, 01:53:19 PM by LordHorusNL »

LordHorusNL

  • Beta Group
  • Full Member
  • *
  • Posts: 226
Re: Slider Crank Mechanism "Angle between two objects"
« Reply #1 on: October 14, 2017, 11:45:25 AM »
Is there a way to animate a float every frame? (curve)

I'm remapping the rotation of the back arm to drive the rotation of the front arm.

However i need to be able to adjust how fast the float ramps up/down at certain points along my path of motion to be able to get the rotaion just right so that the pivot on the carriage stays perfectly horizontal at all times.

Deek

  • Full Member
  • ***
  • Posts: 133
Re: Slider Crank Mechanism "Angle between two objects"
« Reply #2 on: October 14, 2017, 01:08:27 PM »
You can animate a float with the action "Ease Float" (its options are pretty self-explanatory). If that didn't help you further, please elaborate where you are currently stuck.

LordHorusNL

  • Beta Group
  • Full Member
  • *
  • Posts: 226
Re: Slider Crank Mechanism "Angle between two objects"
« Reply #3 on: October 14, 2017, 01:52:41 PM »
I figured it out,  using "Sample Curve" in combination with float remap allows me get the result i need :D

Only downside is i need to adjust the curve by hand and thats gonna be tricky.