I’m trying to solve this one for a while…
Problem is that i can not detect collisions.
Here is what i do.
I have 2 objects (cubes), ball and floor. Ball is tagged Player, floor is tagged Floor.
Ball is rigid body, has collider, and floor had collider only.
I try this:
public class Zzz : MonoBehaviour {
void Start ()
{
}
void Update ()
{
}
void onCollisionEnter (Collision collision)
{
Debug.Log ("Collision");
}
}
Ball falls on floor, stays there, but, nothing else happens.
Nothing happens if i check for collision with tagged object too.
I think i’m missing something very simple and obvious but i can’t see it.
Tried searching internet, it seems i’m doing like i should, but nothing…