garf Posted August 1, 2019 Share Posted August 1, 2019 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); }. Quote Link to comment Share on other sites More sharing options...
woodenduck Posted August 1, 2019 Share Posted August 1, 2019 You missed the condition... i< i[]@myarray; for(int i=0; i<@numpt; i++) { append(@myarray, i); } Quote Link to comment Share on other sites More sharing options...
garf Posted August 2, 2019 Author Share Posted August 2, 2019 Thanks Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.