mir Posted October 9, 2002 Share Posted October 9, 2002 hi there... i have just started working on VEX... wat i'm trying to do is that i wanna compare the velocity attributes of two particles...for eg. particle ID 5 and particle ID 10... how should i go about doing that... the poppoint() function does not work in VEX!!!it would have made things really simple... Mir Quote Link to comment Share on other sites More sharing options...
anakin78z Posted October 14, 2002 Share Posted October 14, 2002 Hey, check out the import function. int import(string attrib_name; vector &result; int input, pt_num) you can import any attribute from any point of any input. so to import the velocity of point 10, you'd: import("v",newV,0,10) so the velocity of point 10 will be put into vector `newV`. Cheers, Jens Quote Link to comment Share on other sites More sharing options...
mir Posted October 14, 2002 Author Share Posted October 14, 2002 thanx man!!! thats exactly wat i need!! 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.