On 22/07/2015 at 03:26, xxxxxxxx wrote:
I'm developing a custom effector, but I'd like to distribute it as a plugin instead of a python effector with code inside.
I was trying to register an object plugin that could be fed into the effector list on the cloner to get access to the cloner's moData, but there seems to be no option to inherit from the effector class, only the basic object one. Which cannot be inserted into the cloner's effector list.
Is there any way to create a base effector plugin and add functionality on top?
Another way i tried was to create a command plugin which issues the command 1025800 (python effector), but i'd rather create a baseObject, set its properties and then add it into the scene.
With the command route i must search the object, create user data on the fly and inject python code inside it.
Also, is there a way to hide the code UI and/or protect it?