rafoarc
11-10-2010, 04:56 PM
Hello all... I have a question, that might be stupid, but it kind of drives me crazy...
I am trying to assign a veeery simple expression that will control the z rotation of an object depending on the distance that it has to a point. I assign a float expression and I create two vector variables, one for the poistion of my object, one for the position of the point. Lets say that the expression is as simple as 'length(objPos - Point1Pos)'. Now, when I use 'assign to controller' to assign the position of my object to the objPos variable I get a circular dependency error! Same thing if I try to use a float script instead. The annoying part is that i've done this several times before without any problem, and with much more complex expressions and float scripts. I even open older files where i have the position of an object as part of an expression that controls an other property of the same object and everything works fine. But I just can not create a new vector variable referencing the position of the same object.....
I am using max 2010 x64.... any ideas????
Thanks...
I am trying to assign a veeery simple expression that will control the z rotation of an object depending on the distance that it has to a point. I assign a float expression and I create two vector variables, one for the poistion of my object, one for the position of the point. Lets say that the expression is as simple as 'length(objPos - Point1Pos)'. Now, when I use 'assign to controller' to assign the position of my object to the objPos variable I get a circular dependency error! Same thing if I try to use a float script instead. The annoying part is that i've done this several times before without any problem, and with much more complex expressions and float scripts. I even open older files where i have the position of an object as part of an expression that controls an other property of the same object and everything works fine. But I just can not create a new vector variable referencing the position of the same object.....
I am using max 2010 x64.... any ideas????
Thanks...
