Collision problem

Hi community, I’m new to this field and here’s my problem:

I have a moving platform with this code attached to it:

transform.Translate(Vector3.forward *3* -Time.deltaTime);

And a simple testing script attached to a fixed capsule.

function OnTriggerEnter (other : Collider) {
         Debug.Log("ok");
	}

so my question is why the code inside the onTriggerEnter function attached to the capsule does not work

i have the same issue plz help me :face_with_spiral_eyes::face_with_spiral_eyes:

emmmm can you give me more detail … :sunglasses:

Well, the collider component in the platform is trigger

Add a rigidbody to your platform.

Thanks dude you are my hero
it works but WHY ?

Scroll to the bottom of that page and read the “Collision Action Matrix”

Thanks a lot dude :slight_smile:

thx a lot dasbin :smile::smile::smile::smile::smile: