Jump to content

Change Orientation for Points


CinnamonMetal

Recommended Posts

I'm trying to orient some points from a POPNet, instead of setting the vector for the points; I want to physically re-position the points orientation. Within a POPWrangle I set the following;

vector PAngle = set(-1,0,0);
@N = PAngle;

This is incorrect as it simply sets the vector to -1 while the points remain the same orientation as they were; I'm assuming I need to set the matrix on the points ?

 

Link to comment
Share on other sites

Sorry, going to have to re-phrase the question, slightly different then what I intended :)

matrix sAngle = ident();
vector axis = {0,1,0};
float rrot = radians(ch("AngleDir"));
rotate(sAngle,rrot,axis);
@P *= sAngle;

To rotate my points I have to manually adjust my channel slider.  How can I make the channel slider the global channel slider which controls how much is rotated based on the velocity ? 

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