I would like to be able to execute a custom script every time a particular object is moved in the viewport. Is there a clean way to do this?
I am using an empty object to guide deformation of a mesh. Right now, I move the empty, and then call my custom operator (by a custom defined keystroke). I’d really like it to work at interactive rates though.
I know that there is an “update” callback function that gets called for custom parameters. But I don’t see how to make that work for a built-in parameter like “location”.