Collision detection how?

My game is a top down 2D style shooter (using 3D objects).

On my objects I’ve added a box collider, edited the size so it surrounds each object nicely and set to be triggers. They all have a rigibody with Is Kinematic set to false.

In my scripts the following

function OnCollisionEnter(collision : Collision)
{
print(“collision”);
}

I get no triggers from this, maybe I have to set something else?

If isTrigger is set then you need OnTriggerEnter(). Note that triggers don’t actually ‘collide’, they’re more like sensors.

If you actually want things to bump into them then turn isTrigger off and then you can continue to use OnCollisionEnter.