object 1 has
- Rigid body 2d:: is kinematic(unchecked)
- fixed joint 2d
- circle collider 2d::is triger (unchecked)
- c# script
object 2 has
- circle collider 2d::is triger (unchecked)
script using
using UnityEngine;
public class onColOccurs : MonoBehaviour {
void OnCollisionEnter(Collision collision)
{
Debug.Log("OnCollisionEnter");
}
}
i can see both objects collide and stop yet function i not called any help would be great thanks