POP Wrangle Timestep

   614   1   0
User Avatar
Member
8 posts
Joined: Feb. 2014
Offline
Hi,

I am building a Boids [www.red3d.com] system in a POPnet using POP wranges. I am trying to work out what's the correct way to apply forces and get the same results in different Time Scales, by setting the parameter on the POPnet.

In the simpler example attached, I have a few points with a popDrag and using a popWrange I set an upwards force just for one frame. If the particles cover 1 unit in 240 frame, I'd expect them to get there in 120 if I set the ScaleTime param on the POPnet, but they go twice as far.
I noticed the f@TimeInc attribute accessible on the POPwrange changes when I adjust the ScaleTime, so I played with the parameters. I got it somewhat close by turning off 'Use Timestep' on the POPWrange and setting the TimeScale param with this expression:
1/ch("../timescale").
It's not really there, so I wonder if it could get more accurate, or a better way to go about it.
Is there maybe an particle attribute that can be


Thank you

Attachments:
popNet_timestep.hiplc (293.7 KB)

User Avatar
Member
117 posts
Joined: Aug. 2017
Offline
I think you can achieve that only using Gas SubStep Node.
Conservation of Momentum
  • Quick Links