Still working on a 2D space shooter, and I can’t seem to register any OnCollisionEnters. The bullet is able to push enemies and bounce off walls, “is kinematic” is on only for walls, and all 3 elements have box/circle colliders and Rigidbody 2Ds (box for walls and circle for bullets and enemies).
Right now I’ve got
void OnCollisionEnter(Collision collision)
{
Debug.Log("Bullet Collides");
Destroy(gameObject);
}
The Debug message doesn’t appear and the bullet prefab the script is attached to isn’t being destroyed.