My First Maya Plugin – sePushPullConstraint
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.
Here is a little example video of what this constraint can do: