Why can I not pick up my moving/wandering objects yet I can pick up those that stay in one place?
For my children's game, the aim is to collect 13 squirrels, 4 of which have a wandering script attached to them so that they move throughout the terrain to make them harder to find and catch. This wandering script requires a character controller attached to it to work properly. My problem is that my script, which uses a simple OnTriggerEnter (Collider other) function to work, and de-activates the squirrels once the player comes into contact with the squirrels's colliders (all of which are ticked as triggers), doesn't work for those that wander. I don't know why as the colliders of the wandering squirrels are identical to that of the squirrels that remain in one place. All squirrels have a simple animation (idle for the still, walk for the wandering), and have both their slot in the inspector reference filled and the correct tag assigned. Is the wandering script, or the character controller, the problem?? And if it is, could someone please explain to me why this is?