How to stop a prefab from moving once raycast hits collider?

Please consider editing your post, after you read this wonderful thread on how to post code nicely on the forums! :slight_smile:

1 Like