Quantcast
Channel: Questions in topic: "count"
Viewing all articles
Browse latest Browse all 187

Overlapsphere : Count objects based on variable ?

$
0
0
Hi guys ! So here's what I am trying to do. I have a cube having a certain amount of a resource (water for example). I want this cube to detect other cubes around it and check if they have a lower amount of water. If it is the case, I'd like my first cube to divide the amount of water it has in excess compared to the others and give some to every cube around. Any idea on how to do this ?

Viewing all articles
Browse latest Browse all 187

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>