Hi again, another noob question from yours truly...
I am making a "Mode7" styled racing game... for the off-track area and boundary collision, I am using terrains (invisible to the player). The problem I have, is for the boundary terrain collision, if I set it to a trigger (to activate damage/play crash sound etc) the car drives through it... I know this is how triggers work, as it detects when one object intersects with another, so the workaround I have done is used two identical terrains, one as a trigger, the other to act as a solid object, to stop the car. Is this the way to go? Doubling up on terrains seems a bit overkill for me... I don't have any performance issues, the game runs perfectly on even older hardware (although I have yet to try out on iOS), but I would like to know if there is a better way, for optimisation's sake :)
asked Jun 14 '12 at 09:41 PM
Use a single terrain, not a trigger and check OnCollisionEnter rather than OnTriggerEnter.
answered Jun 15 '12 at 12:41 AM