Turn on and off a Cubes(GameObject) Is Trigger.
So I have a cube that is acting as a wall that the player can't get through until they have collected a certain amount of "keys". Only problem is that if "Is Trigger" is on, then they can just roll right through. If it's off, the player cannot roll through since they are a Sphere. Is there a function I can write to turn this on/off?
Comment