- Home /
standing in fire or specific area I wanna take damage
Hey, I trying to add a script to a fire or a specific area in my game that makes me take damage when I stand in it so I figured out that I probably needed something like when I collider with the fire I take damage... I got it to work with the fire but have no idea how I can make an area I stand in I take damage from but I can still stand in it.
Anyone know a answered question or example?
Answer by flaviusxvii · May 12, 2011 at 07:44 PM
Colliders are what you want. You can freely move through them. They aren't "physical", they just fire off events when they intersect other colliders.
Agreed - except the isTrigger box should probably be ticked to prevent actual collisions
Your answer
Follow this Question
Related Questions
Area damage 1 Answer
Damage on collision problems... 0 Answers
How to create/fix fire damage script???? 1 Answer
Fire Damage 2.0 1 Answer
damage script 1 Answer