Hello,
I’ve been learning rainfall simulation over a terrain surface using Kangaroo. The setup includes a surface [terrain], with particles (raindrops) moving across [Slope, Load]. Everything was working fair, particles are moving as expected, and I’m using ‘Cloud Display’ to visualize them.
Now, I’m trying to animate the motion trails of these raindrops by connecting their previous and current positions using the ‘Line’ component. This used to work before, but after a few script changes, the ‘Line’ component has gone red and throws:
“Data conversion failed from Integer to Point”, I assume for both inputs.
I think somewhere an index (integer) is mistakenly being passed instead of a point, but I can’t pin down where. I’ve tried panels to debug, but just am unable to figure out.
I’ve attached a full screenshot of the definition the issue is in the green group, top right (the red ‘Line’ component). Would be super grateful if someone could take a look and guide me on what might be going wrong or how to cleanly set this up again.
Thank you so much in advance!
Yellow [Animation trigger], Red [The line component].
I’ve internalised the essential components.
250417Runoff Simulation_Request.gh (538.7 KB)