Jump to content

Is there any way to know the collision frame of a particle?


eunchae

Recommended Posts

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 by Atom
Link to comment
Share on other sites

  • 3 weeks later...

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.

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