Results 1 to 3 of 3

Thread: [Maya] - Expressions help.

  1. #1

    Default [Maya] - Expressions help.

    Simple expression logic is not followed as expected...

    Expressions are double printing in the console...

    I made a video to show the issue... All of this SHOULD be very straight forward and I'm very curious as to what is causing all of this. I have ZERO clue why the crank would be going in reverse in the video example at 4 minutes in.

    Attached is an example file of this issue... This issue is also true in 2016 SP5 of Maya which leads me to believe this is due to user error... That or it's a deep bug that's been around for a while.

    Youtube video -

    Example File DL -

    Please give me some input if you have it! Many thanks.

  2. #2

    Default Simplified scene

    I've simplified the expression to show the problem more clearly, but still getting the same bunk results.

    DL Link to simplified scene -

    Youtube video of simplified scene -

    Once again, thank you for any help.

  3. #3


    Turns out the accumulation of the rotational value wasn't being compounded. That was my issue and that is what caused the rotational value to reverse. A nice chap over at the Area gave me a hand with the solution-

    if (frame == 1)
    rot_grp.rotateZ = 0;
    rot_grp.rotateZ = rot_grp.rotateZ + (10 * `getAttr rot_grp.rotMult` * (frame/24));


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts