As I you can see from the attached image, I have created a prefab of a hand (that is actually holding a gun).
I am only mobilizing the index finger and I would like to trigger a box collider with IsTrigger=true, and I only wanted to trigger this with the finger tip of my index finger.
So I attached a tag to my bone3(the fingertip bone) called “Triggerable” .
However, when I was writing code for OnTriggerEnter, I realized nothing was happening.
So I wrote a test Logging code
void OnTriggerEnter(Collider other)
{
Debug.Log(string.Format("{0} | {1} | trig", other.ToString(), other.tag.ToString()));
}
And realized that my bone3 was losing the Triggerable tag.
What is the possible cause of it?