Follyx Posted January 20, 2016 Share Posted January 20, 2016 Hi, ok, I have a pointwrangle and afterward an attribvop with an promoted offset vector. Code in the pointwrangle is v@skn = .{2,0,0}; If I use it in the promoted offsetvector like @skn.x,0,@skn.z nothing will happen. So whats wrong with it. Ok and the second: If I want to write the @skn wiht $F for x, how should be the syntax for it: @skn = {$F,0,0}? (ok I know $F its wrong but whats it for vex? @F?) Thanks in advance Quote Link to comment Share on other sites More sharing options...
mestela Posted January 20, 2016 Share Posted January 20, 2016 Heh, no need to cross post on here and sidefx, I wager most people read both. Quote Link to comment Share on other sites More sharing options...
Atom Posted January 20, 2016 Share Posted January 20, 2016 (edited) One thing to remember about {x,x,x} is that it only accepts constants. You can only use it for that. (i.e. @skn = {0,1,2}; no variables are allowed) To use variables you use the set key word. So @skn = set(x,y,z); will work. As far as $F you can back tick insert it directly like so @skn = set(`$F`,0,0); or use @Time @skn = set(@Time,0,0); Edited January 20, 2016 by Atom Quote Link to comment Share on other sites More sharing options...
fathom Posted January 20, 2016 Share Posted January 20, 2016 $F is better subbed in for f@Frame (f@Time is $T). the first one also has a . in it before the brace (".{2,0,0}"). not sure if that's a typo or what. Quote Link to comment Share on other sites More sharing options...
Follyx Posted January 21, 2016 Author Share Posted January 21, 2016 (edited) ah, yep I forgot.that,thank you. And yes the . was a typo ;-) Edited January 21, 2016 by Follyx 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.