The issue is that you don’t provide an initial vector to the
D1 input of the Loop Start component. By default, it’s set to
NULL, which means that multiplying by 0.95 inside the loop, won’t do much good.
How the Loop Start component manages to output 0.95, instead of 0.0, I don’t know? 0.0 times 0.95 should be 0.0? Well, it doesn’t matter either-way!
You need to start with an initial vector that you then can change iteratively!
Here’s an example using a random, initial vector for each random point.
If you want the agents to slow down over time, simply don’t reset the velocity vector to magnitude 1 at the end of each iteration!
Note how the preview of the agents get smaller over time! I draw a cone for each one of them. The radius and height of each cone are defined by its corresponding agent’s current velocity vector. When the magnitude of this velocity vector gets closer and closer to 0.0, the overall size of the cone, representing the agent, gets also smaller and smaller.
This should do the trick!
slow dow vector question V2.gh (14.5 KB)