I’m doing the Unity junior programming tutorial. I’m on prototype 2. I’m unable to use the assets for the tutorial due to it being outdated. Currently it is telling me to click is triggered so I can set up game objects getting destroyed when they collide with each other, but when I activate is triggered my gameobject go beserk. If I add the script they just instantly destroy themselves, i’m assuming it is because they are touching the ground. I can’t figure out how I’m suppose to use is triggered on an object with a rigid body.
Not sure on the context of the tutorial but the “isTrigger” option on a collider makes the object not solid (so it doesn’t collide with anything else physically) and instead when something enters its collider, the code in your script for OnTriggerEnter or OnTriggerStay will be run (So I guess that is where you have code to destroy the object). You probably need to move/resize the object/the collider so that it doesn’t hit the floor?