yes, i know that the GameObject must have a rigidboyd attached to it. I’ve rigidbody and capsule collider attached to the object (called powerCell) in which i’ve attached this script too
But when i launch the game, once the player reach the powerCell no event is trigger. Why ??
Also noted that If in capsule collider inspector i check “is trigger”, i correctly see “pick” into the console, so the event is correctly launched :o
The book Unity 3.x Development Essentials (even if I am using the 4.3 build), page 192 uses OnTriggerEnter…
I tryed OnCollisionEnter too but the problem is the same
EDIT: ahh ok solved… i thought that is trigger had been an option to trigger the event at launch…