scripting controllers

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.

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Graph's picture

yeah but the question is what

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)

Raphael 'Insanto' Steves
http://Graph.Net84.Net

br0t's picture

I think you can very well do

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.

Never get low & slow & out of ideas

intensenex's picture

It worked

Thanks a lot i did not know about wire parameters and it did the trick.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.