|03 March 2013||#1|
Join Date: Aug 2005
Particles moving following a grid, like cars in traffic
Hi, do you know if it is possible to make particles following a grid made of multiple splines or shapes? I have a grid of straight lines crossing each other, like streets of NYC for example, and I need particles going from a point to another but always staying in the roads. The roads/lines are a lot and I don't want to animate elements (they wont be real cars but only simple dots) by hand.*
Do you have any idea?
Thank you in advance!
|03 March 2013||#2|
precise defab workerportfolio
Join Date: Aug 2006
I haven't done it in pflow, but the basic idea is like this - you position particles on the spline and align them to it. These serve as a guide. Then you run the car particles on the spline, and you move them in the direction of the alignment of the closest guide particle.
|03 March 2013||#3|
still wandering the binary void
salt lake city, USA
Join Date: Oct 2003
Jeff Lim actually built up some Box#3 logic that controls cars along splines, I did a quick search for it over at Orbaz but didn't see it right off the bat. I know it is there somewhere. Maybe Jeff will jump in with some guidance. IIRC it registered red/green lights as well as anti-collision.
EDIT: I found it but it was in the Beta area so you will have to ask him for permission, his username here is Galagast.
You could try doing something similar with per event control, I think it would take a lot of work, at least thinking over how to build the system in my head anyway. I do not believe it to be a trivial task.
Last edited by JohnnyRandom : 03 March 2013 at 04:06 PM.
|Thread Closed share thread|