How to add a scoring system triggered by object collisions
Easy rigidbody and script setup
A complete guide with pictures and code