Forum Replies Created

  • Holy smokes. You got it. I’ve been trying to figure out which suggestion would work for hours!

    For anyone else landing on this thread, I used
    value – parent.parent.parent.transform.rotation;

    and I placed it as an expression under Rotation for the Child layer.

    Thanks again Dan!

  • Dan,

    I’m glad that it was you that responded! I’ve been reading your answers to other questions re: expressions, and it has been helpful. Thank you.

    Can you please tell me where to add the expression? Under position or rotation? And under the Child object (pedal), right?

    Thanks again!

  • I know that this is an old thread, but I figured instead of starting a new one, I would just tag on!

    I am trying to keep a pedal rotating with a bike gear, but still face upward so that the foot can rest on it. I am getting ready to dive into Duik or Dan’s IK expressions for the legs, and I have all of the wheels and gears going nicely with Carl Larsen’s Vehicle Rig expressions.

    However, I cannot get the pedals to stay upright! I have tried this expression you suggested: “value – parent.transform.rotation;”. I am unsure exactly where to put it though. Rotation? Position? I have a null that is parented to the pedal “bar”, which is parented to the gear. The pedals are parented to the nulls.

    Help? Thank you!

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy