I am basically trying to script an object(box) to move down when another object moves up. i am trying to get it simulate in real time just as when position controller is applied to object to move along with another object. I need to move update automatically in viewport. Can you tell me more about how to script controllers.
Forum topic · General Scripting
scripting controllers
By intensenex · 2011-05-20
Description
Comments (3)
Graph · 2011-05-22
yeah but the question is what to take as an origin if absolute movement is wanted or if he wants to increment (wich i'd suggest(in both z directions)), but for that you'd need a startPoint so you can get the vectorLength between the original position at time of assignment and current one.. wich of course has to be reAssigned/applied when the direction changes
hope that made enough sense (late here)
br0t · 2011-05-21
I think you can very well do this using "Wire Parameters" from the Animation Tab.
Using a simple expression you could invert the Z Axis so the slave box will move down when you pull the master up.
It worked
intensenex · 2011-05-22
Thanks a lot i did not know about wire parameters and it did the trick.