Script 4.

2D water point cloud.

This script is a "mesh" or point cloud simulation that represents water. The points repel each other to represent a side view of water..

Better collision detection should be implemented here too since "water" keeps leaking out through the corners. Would also be good to add a grid to give a maximum number of point clouds in a row.

Prev
Next