I cut my teeth on Maxscripting and found it to be fun. Haven’t used it in a while, so while brushing up on that, I’m giving Blender scripting a shot. Learned a bit of python recently, and tried doing something I remember being relatively easy in Maxscript, linking one of the values of one object’s location to another object, for example Obj1.location.x to Obj2.location.y.
It’s not quite working.
It does it for that instance, but when I move object 2, object 1 doesn’t react at all. I’m wanting this to work in the Python API, not the game engine API (different beast for a later time). The difference I think I’m expecting here is that Maxscript is constantly evaluating things and there doesn’t appear to be anything in blender’s python API to tell it to constantly evaluate something. Tried “while 1 ==1: etc…” to link the objects and hopefully have one move when moving the other, no dice.
Help and pointers in the right direction are greatly appreciated.