-
bhnh 75 posts
Attached is a .max file of a twenty-frame animation of some boxes. They're wired together with scripted 2-way connections, and the connection is being ignored by the animation, at least on my machine (running Max9 SP2). If you've got a moment and are running Max9 or higher, would you mind opening the file and scrubbing the timeline to see if it works for you? All the boxes should rotate at different rates. Many thanks.
-
ivanisavich 4,196 posts
Sorry I can't help mate...I'm on 8.
-
bhnh 75 posts
No sweat, Ty. Annoyingly, this thing does work properly in max8.
-
mcernusca 113 posts
Interesting, I'm here at work and I can't get it to play.
I have a vanilla install of 9 here. I'll have to try it at home tonight, where i have the service packs installed.
-
bhnh 75 posts
At this point, Mihai, it seems fairly evident to me that this is a bug in Max9 and 2008... probably cropped up unnoticed in v9 and got passed on to v2008. The details on this are in this thread - (which, BTW, you participated in). I've logged a bug report with AutoDesk; we'll see if they have anything to say about it.
-
ErikE 39 posts
Well, I am pretty sure it is the same bug that I have run into with wiring in max 9 before. Sometimes it will just not animate, the only way around this that I have found is to just redo it. I rewired the boxes in your file just by disconnecting them and the reapplying the expressions and it keyed and animated fine. I could not get it to animate without doing that.
I had this happed to me a few times. I set up some hand controls for Peter Starosin's max rig saved it, then saved a copy and did a little test animation with it. It worked fine and then I went back to the copy without any animation on it and the attributes would no longer animate. It is really annoying and I have run into it multiple times. I actually thought it was a bug with custom attributes because that was where I was running into problems with the most, first when when I used the parameter editor and then when I actually scripted them. So apparently it is a bug with wiring.
*edit* I used max9 with no service packs
-
bhnh 75 posts
Thanks, Erik. I'll give it a try.
-
mcernusca 113 posts
I redid the connections and couldn't get it to animate btw
-
ErikE 39 posts
hmmm, well i did it again and I got it working so I am not sure why it won't work for you. I did not re run any scripts for it, I just went into the z-rotation float wire, disconnected it and put the same expressions in again. Here is the file.
It looks like your file is dropping out the bezier float on the z-rotation which is probably why the animation is not working. After I redid it the bezier float showed up again so I am not really sure why it goes away :\
-
bhnh 75 posts
The only condition in which the linking doesn't animate (for me) is when the link is created from a rollout. Unfortunately, that is the thing that I need it to do.
-
ErikE 39 posts
Sorry, I just saw your other thread and you already knew that you could wire them manually and have them animate. my fault for not seeing that.
One thing I have noticed when my wiring does not key is that the bezier float is gone from underneath float wire, which seems to be the reason it will not save the animation. So maybe you need to tell it to add it in again in your script since it is not doing it automatically like when you manually wire it.
I am still pretty new to scripting so I am not really sure how you would go about doing this.
The image on the left is from manually wiring the boxes together and the one on the right is using your box making script.
-
bhnh 75 posts
Good eye, Erik. This is looking significant... somehow... hmm...
-
bhnh 75 posts
-
mahmoudnahmad 1,159 posts
-
bhnh 75 posts