Rafal123 Posted February 13, 2007 Share Posted February 13, 2007 I go to: Aliases and Variables and create new variable name: YO and value: cos($F). Then I put $YO in translateY on geo box and it ain't work but when I put there cos($F) it works. Can somebody explain why is that? Quote Link to comment Share on other sites More sharing options...
sibarrick Posted February 13, 2007 Share Posted February 13, 2007 Global variables can't have other variables in them, or they can but they won't get evaluated. AFAIK Also, global variables don't cook every frame only when they change, or you run the command varchange. If you want an expression to be global make it in one object or spare channel, or in chops, and then reference it to all the other places you need it to evaluate. Quote Link to comment Share on other sites More sharing options...
B.Walters Posted February 15, 2007 Share Posted February 15, 2007 I think you could also use: eval($YO) Quote Link to comment Share on other sites More sharing options...
B.Walters Posted February 15, 2007 Share Posted February 15, 2007 Yup, just checked it, eval($YO) works. Quote Link to comment Share on other sites More sharing options...
Rafal123 Posted February 15, 2007 Author Share Posted February 15, 2007 hehey fellows many thanks for answers it works Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.