I have been reading and learning as much as I can about writing plugins for Maya through the API and I finally thought of something useful that I wanted to write. So I first did my proof of concept just using expressions in Maya to make sure I get the behavior I wanted. Then I wrote it again as a Python plugin to add features and some more testing. After I got some bugs ironed out, I wrote it yet again in C++ to get the speed .

So what does this plugin do you ask? I call it a ‘push pull constraint’. Its a type of constraint that keeps the constrained object a specific distance from the target, allowing it to pull or push the other around.

< Download Available! >

(currently only Windows 32 bit and 64bit for Maya 2008 – 2011)

Here is a little example video of what this constraint can do:

If you can see this, then you might need a Flash Player upgrade or you need to install Flash Player if it's missing. Get Flash Player from Adobe.

6 Responses to “My First Maya Plugin”

  1. Looks great,buddy! Congrats on getting it done:)

  2. Sweet, can you release the python version so that it’s not windows limited? PLEASSSEEEEE?!

  3. scottiedoo
    18:43, 13.07.2010

    What OS are you using? Could write it python but it’s not the best for performance. I’m trying to find people that know how to compile a plugin with the missing platforms (Mac, Linux, Windows 64). Stay tuned and we’ll see what I can do… Thanks!

  4. Great stuff Scott. I really want to get into the API after seeing this. Thanks for letting us download it!

  5. nice idea! scott, if you could release python version of plugin, it would be great, it would help us understand whats going on behind the scene.
    thanks

  6. scottiedoo
    15:14, 31.07.2010

    After all the responses, I have updated the download to include now a Python and a Windows 64bit version. Thanks again for the positive feedback. Enjoy!