So i have a top down shooter game where the navigation around the screen is done through rotating off of a specific pivot left or right using two specific keys. I’m trying to have it so that my character will run into the box as shown to the left (that has trigger toggled on) and the result will be my HP bar decreasing. Though i can’t get the two to react. I found that my character’s controller is what needs to be hit but i was wondering if there’s a way to have a box attached to my character react to entering a trigger or a trigger touches it instead of the main character controller.
I used the two codes in this link on my character controller and box:
http://jdamsgames.wordpress.com/category/scripts/