I’m tring to make a fire object that burn wood object .
When the fire move and hit the wood, the wood catch fire, but if the fire stay in a place and is the wood that move in to fire, collision don’t happen.
This is the script in fire object:
void OnTriggerEnter(Collider other)
{
Debug.Log ("fire have hit " + other.name);
if (other.name == "wood")
do stuff...
}
fire is rigidbody and kinematic,
wood is trigger