Jump to content
Sign in to follow this  
logix1390

channel reference- addpoint function

Recommended Posts

Hello

I have added a point using vex :


addpoint(0, {0,0,0});

 

I want to create custom sliders for each axis of the point position:

@P += {ch("xPos"),ch("yPos"),ch("zPos")};

 

But I get an error . I have no idea why this is happening.

I will attach my scene for anyone who wants to take a look. 

Thank you
 

 

add_point_channel_ref.hip

Share this post


Link to post
Share on other sites

use set() instead..there was a recent post on this {} vs set() thing...but can't find it

anyway use set(your 3 channels in here)

{} is for literals only

arrrggg...here:

 

Edited by Noobini

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×