Graphics

 View Only
  • 1.  Set-Driven Keys?

    Posted 03-16-2018 17:46
    I have a car I need to animate as a wipe-on device. Straight forward, animate in X, rotate the wheels on Z, but I was wondering if there is a cool Visual Logic trick to get the X-position animation drive the z-rotation animation. In Cinema 4D's node-based scripting tool, XPresso, I would make what is called a set driven key for this, tying the relative value of Pos X to the Rot Z parameter of the other object, and teh result are wheels that rotate faster or slower depending on the the car's pos animation. However, I don't see a relative value node, only an absolute value node. I'm going to start playing with it now, but thought I would throw this out there in case there there is a way to make it work which I fail to stumble upon.

    Thanks
    - Willie


  • 2.  RE: Set-Driven Keys?

    Posted 03-17-2018 05:20
    You could try something described here: https://discussions.rossvideo.com/forum/default-forum-gc1/xpression-cg-and-graphics-system-gc12/7583-animating-start-angle-of-a-cylinder

    I've done something similar where I've tied the position of an event marker to the radius of a cylinder. I suppose you could just tie the x-position to the rotation in a similar manner.
    #XPression


  • 3.  RE: Set-Driven Keys?

    Posted 03-17-2018 18:07
    Willie, what if you used the x position as a multiplyer? z rotation = "R" times x? if the move in x is linear the acceleration would be linear as well. I think. I would have to try this one out first.
    #XPression