I would like to create a grass simulation with geometry nodes.
I have a system that can almost work. But when I try to apply it to my use case I get stretching of the grass. Currently I have a system where a force is applied to a curve line. That force is stronger at the tip than the bottom.
- Each frame the points are displaced by that force proportionally to their spline factor
- After moving, the distance between each point on the one lower down is calculated. If that distance is greater than the original distance, the point is moved directly towards the other point until the distance is equal to the original distance.
And that's it. It works well on my single blade of grass.
But when I try to implement it on a larger scale, the grass slowly continues to grow. I don't know if this is because of the changes I have made due to using instances of curves instead of a single curve.
I've uploaded my attempt .blend.
Is there some way of maintaining the curve length?