Jump to content

Differences in N with point and pointwrangle node


Follyx

Recommended Posts

Trara... Eieiei... Thank you.In the beginning its so mucht to take care about.

Thank you.

 

How could I organize groups in a PointWrangle node? So to get exactly the same as in the point node?

Edited by Follyx
Link to comment
Share on other sites

You can use same group technique with two nodes. It is faster to do and more readable in network (you need to notice specified groups, however). In VEX there are several ways, maybe more than those three:

// Comparing against point number in VEX.
if (@ptnum == 0)
{
    // Code.
}

// If using _existing_ group.
if (inpointgroup(0, "groupname", @ptnum))
{
    // Code.
}

// Using bindings. No need to use functions for points, vertices and prims.
if (@group_groupname == true)
{
    // Code.
}
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...