Jump to content

simplest wrangle question


Follyx

Recommended Posts

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

 

Link to comment
Share on other sites

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 by Atom
Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...