magneto Posted September 11, 2014 Share Posted September 11, 2014 Hi, So I have some points moving outside of a popnet (H13 one), and I calculate their velocity and the magnitude of this outside of the popnet as well. In the popnet, I just emit all points once, which works well and also imports my attribute. But after the first frame, it doesn't import my "speed" attribute. Is there a way to do this? Or should I calculate the speed inside the popnet? If so, how? As I need to access the previous frame. Thanks. Quote Link to comment Share on other sites More sharing options...
anim Posted September 12, 2014 Share Posted September 12, 2014 you can just access any attribute from input geometry using point() VEX function in POP Wrangle just set Input 1 to First Context Geometry and point(0, "speed", @ptnum); will get speed from first input geometry of your dopnet and since you've created particles only once from all points @ptnum will match, therefore will bring speed value of corresponding point here is example with Cd attribute since it's more visible ts_update_pop_attrib_from_sops.hip 1 Quote Link to comment Share on other sites More sharing options...
magneto Posted September 12, 2014 Author Share Posted September 12, 2014 Thanks anim, simple and works 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.