destroy a bulllet on collision unity code example
Example: how to destroy bullets when they hit a collider unity 2d
function OnCollisionEnter(){ Destroy (gameObject); }
function OnCollisionEnter(){ Destroy (gameObject); }