Jump to content

vex vector attributes


Recommended Posts

I'm probably being very stupid, and a total n00b with vex so please bear with me.

all this is currently in an attribute wrangle.

 

basically I want  to create a new vector attribute

and I want it to be the location of a point. (another point not p)
I already have an attribute for it that is a vector called position.

I can do:
 

@Cd = position;

works fine

 

vector @test = {0,0,0};

works too

 

but I cannot do
vector @test = position;

vector @test = {position};

vector @test = {position.x,position.y,position.z};

 

also I can't seem to get the printf to work.
all help is greatly appreciated!!!

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...