I made this code but the colision part is not trigered
using UnityEngine;
using System.Collections;
public class Bullet : MonoBehaviour {
//fly speed
public float speed = 2000.0f;
//explosion prefab (particles)
public GameObject ExplosionPrefab;
void OnColisionEnter(Collision col) {
Object.Destroy(gameObject, 2.0f);
Instantiate (ExplosionPrefab, transform.position, Quaternion.identity);
print ("it works");
}
}