Jump to content

VEX: arrays and such


garf

Recommended Posts

Hiya,

I think what I need to do is compare an array of all the ids in the current frame with all the ids of the previous frame - and from that determine which have been killed off and where there position was before they died.

I guess I can do this in vex with arrays and some foreach looping - can someone point me in the right direction as to how I would go about this?

I figured this would build my array but it grinds houdini to a halt:

i[]@myarray;
for(int i=0; @numpt; i++)
{
append(@myarray, i);
}.

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