not sure i understood exactly what u want, a condition wouldnt work ? if you need to be able to "pause" time then resume it, i dont think it would be very dg friendly, you would need a node to accumulate time, which would be heavier and heavier as time goes. But i may be overthinking it
Le sam. 18 juil. 2020 à 15:04, delibrax <[email protected]> a écrit : > Hi there, > > I have some joint that connected with motion path. beside that it's > conected also with TIME node. So the scenarion is once the maya scene is > playing then the joint will looping follow through the motion path. > > So here I would like to make it stopped controlled by attribute even > though maya scene keeps playing. I have tried to here and there for this > things, but once I set attribute to 0 (which means off/stop) the joints get > back to start position (i know because it's multiplied by 0). > > I'm not good in write expression but is there any advise for doing that? > Kind like when the attribute is 0, then get the frame number, keep it, and > it will be added with next frame when the attribute is 1 (in order to make > the joint in same position)? O is there any other way to do? Thanks in > advance! > > -- > You received this message because you are subscribed to the Google Groups > "Python Programming for Autodesk Maya" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/python_inside_maya/8fc9278b-97fb-4175-8177-9d7a80aa2876o%40googlegroups.com > <https://groups.google.com/d/msgid/python_inside_maya/8fc9278b-97fb-4175-8177-9d7a80aa2876o%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAHChmQYiHy1QpCMfWAOBT5goT7JCftWWZuTqns8%3DcJFJOph4%3Dw%40mail.gmail.com.
