|
Super new and trying to learn some stuff about Unity using the 2D platformer sample. I'm trying to create a platform that kills the player when they touch it, but if I make the boxCollider a trigger and use the DeathTrigger script, the character falls through the platform before they die. I've tried to use onCollisionEnter/Stay on the platform to send the same onDeath message, but it seems that the character would take those functions, and I'd prefer to tie the onDeath message to the platform instead of the character. Any suggestions? thanks
(comments are locked)
|
The question has been closed Jun 14 '11 at 04:13 AM by ckfinite for the following reason:
Duplicate Question
