eunchae Posted November 21, 2022 Share Posted November 21, 2022 hello. I only want to know the first frame when the particle collided. I used the detect node to create a group in popwrangle and saved the frame... but the frame is accumulated. Can't we just get the frame when it collided? Thank you. Quote Link to comment Share on other sites More sharing options...
Atom Posted November 21, 2022 Share Posted November 21, 2022 (edited) Extend your popwrangle code to examine the @hitnum attribute as well. Store the time in a new attribute. Time is in seconds, so you'll have to convert it to a frame based upon your current FPS. Something like... if(@hitnum==1){f@first_hittime=@hittime;} Edited November 21, 2022 by Atom Quote Link to comment Share on other sites More sharing options...
Abdulwadoud Posted December 10, 2022 Share Posted December 10, 2022 I believe that you could use the velocity dir cause the velocity direction used to have a sudden change when it hits something and collide with. so you could like for example subtract your current vel from the previous velocity to have that like a trigger you could feed it into a Cd attrib to vis it you know try that. 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.