How can I control another script’s isTrigger? I need it to be isTrigger = true when the other one i isTrigger = false.
Thanks
How can I control another script’s isTrigger? I need it to be isTrigger = true when the other one i isTrigger = false.
Thanks
You don’t control a script’s isTrigger, but a gameObject’s collider’s isTrigger. gameObject.Find("YourObject").collider.isTrigger = true;
Thanks, that worked out for me
Bug, sorry…