Global procedure is unavoidable anyway because UI command requires global proc. My real complain is really global variables. Anything not in the block {} is default global, and they stays forever in the Maya session. So while debugging if you happen to use a global variable by mistake you have to restart Maya or try to…
I made changes to the ax rig that will require redoing the animation, so I took the pogo bounce down from syncsketch for now and removed links in previous posts to avoid confusion. However I did start blocking in the swing and step onto the axe: https://www.syncsketch.com/sketch/0731384d77db/#1060223/987205 I have a few…
I've updated this tool now you can use a slider to scale, you can scale down or back up to original, it remembers the original scale //Global variable declaration
The reason this is happening is because Maya's variable scope is a bit weird in that variables inside functions are separate from everything else. You need to declare it as global inside the function like global string thisIsGloba; Here's a short example of how the scope works. string $scope = "This is scoped"; But even…
mLichy: Whoa, didnt you just start doing maxscript recently? Nice work so far, your way ahead of me :P Edit: Threw together something that would work on single or multiple verts/edges/faces. It moves the actual pivot to the selected components averaged location. Run "$.pivot = curObjPos" to go back to the previous pivot at…
Hi everyone I am a newbie to 3d stuffs and I made my first Orc model on low poly. and because this is my first model, I dont even have it in T pose. I feel like my model was not readdy to rig but i still rig it. The problem i am having is When I move everything inside the global control and I moved the global control. The…
Is that how it really works? If I understand what you said correctly... the global root would have to remain at 0,0,0 for the entire time the character exists the game scene. Displacement node is moved around by the engine; then character skeleton, from the pelvis?, is updated to the Displacement node's position? My…
@throttlekitty I believe the issue you are running into is due to: proc tkPerformCrease() being a local procedure as opposed to a global procedure. On Maya startup and initialization, Maya will parse all scripts located in the environment variable script paths (located via default internal vars and supplemented in your…
[ QUOTE ] Hahaha. I'm sure that you used your internets to figure out that global warming is 100% fact. Well, I just did a research paper over how people like you are influenced by the media on global warming. If you'd like to read it I can send you a copy with the annotated bibliography. The truth is, the earth is…
I believe this is the only safe alternative (to using global/local variables). If you are using MEL script, good luck trying to share a variable across procedures! (It would work in your script editor, but as soon as you try to invoke global proc through UI, as "-command" requires global proc, shits goes down because of…