Sharing my attempt -
updating the debug log until we reach our timer goal (3 seconds) and then suspending it.
added a RigidBody variable to adjust the gravity - not strictly needed but good practice?
Since this is also an object the player can “hit” I added a compare tag for the obstacle hit script to turn red if the thing that hit us was the player. (Dropping it onto the ground also creates a collision and we don’t want that to trigger a red color change). Also edited the player tag to Player …
Attached both my DropObstacle Script and the the ObjectHit script to the dropper cube.
my “ask” is the comments I left myself near the top of the drop obstacle script - making this generic, is timer the right way to go? Does Time.time get reset if we add pause to our game? Thanks! I’m enjoying the course!