Returning the speed of a particle

   3900   3   2
User Avatar
Member
43 posts
Joined: March 2007
Offline
hi ,

I'm creating this flocking system, where I'm using a wind POP to drive a group of particles about x and Z (a 2D plane) at random.

I'm using the Amplitude parameter in the Noise Tab (within the wind POP) for this… seems ok, at least for now.

I also have a few sequences of geos (all walk cycles) that run at different speeds.

Is there a way of getting the speed of particles within a certain range?

I need to group particles depending on their speed range to copy the correct walk cycle to that group. (e.g: slow particles will be assigned a slow walk, fast particles will have a fast walk… ).

Any ideas?

Thanks
User Avatar
Member
43 posts
Joined: March 2007
Offline
I think I'm blind…

velocity of particles is displayed in the details pane (just in case someone has the same problem)

sorry… I'm newbie in POPs
User Avatar
Staff
2540 posts
Joined: July 2005
Offline
Then you will want to get the magnitude of the velocity:

length($VX,$VY,$VZ)
There's at least one school like the old school!
User Avatar
Staff
1072 posts
Joined: July 2005
Offline
You can just use $SPEED in POPs.
  • Quick Links