Jump to content

Infection system with growing geometry


Recommended Posts

Hi, magicians!

I already broke my mind trying to solve a simple problem) I created a point infection system and for every point I copy the geometry so I want geometry to grow from every new point. It seems that I need to associate the pscale attribute with the time attribute, but the pscale grows constantly in time which is logical. In addition, all new points grow from the existing @Time value associated with the @pscale. So how can I make growing @pscale in every new point from zero and stop after few frame/time with little random pscale?

Or I think it’s wrong and I need to change the approach. Maybe try to animate the uniformscale in the geometry itself through some expression?

 

I would be grateful for any advice

 

Link to comment
Share on other sites

You need to define an "age" that would be equivalent to the current frame, minus the frame at which the current point was first activated by the infection system. You could store that frame in your solver, then compute the difference afterwards and use that value to map to @pscale.

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