playMaker

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

LordHorusNL

  • Junior Playmaker
  • **
  • Posts: 78
    • View Profile
Slider Crank Mechanism "Angle between two objects" [SOLVED]
« on: October 12, 2017, 02: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, 10:53:19 AM by LordHorusNL »

LordHorusNL

  • Junior Playmaker
  • **
  • Posts: 78
    • View Profile
Re: Slider Crank Mechanism "Angle between two objects"
« Reply #1 on: October 14, 2017, 08: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

  • Junior Playmaker
  • **
  • Posts: 63
    • View Profile
Re: Slider Crank Mechanism "Angle between two objects"
« Reply #2 on: October 14, 2017, 10:08:27 AM »
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

  • Junior Playmaker
  • **
  • Posts: 78
    • View Profile
Re: Slider Crank Mechanism "Angle between two objects"
« Reply #3 on: October 14, 2017, 10:52:41 AM »
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.