Skip to main content
replaced http://gamedev.stackexchange.com/ with https://gamedev.stackexchange.com/
Source Link

As things are right now, only your player can detect collisions. For this to happen your player must have a collider attached, and be sure the IsTrigger checkbox is unchecked. If you want to make it react to IsTrigger than you should change your OnCollisionEnter() to OnTriggerEnter().

Collisions can only be detected if at least one of the colliding objects has a call to OnCollisionEnter() or OnTriggerEnter(), depending on if you want the collider to react to collisions or triggers, and obviously both colliding objects must have a collider attached.

For further detail on understanding how to properly handle collision detection among your objects, please see this questionthis question.

As things are right now, only your player can detect collisions. For this to happen your player must have a collider attached, and be sure the IsTrigger checkbox is unchecked. If you want to make it react to IsTrigger than you should change your OnCollisionEnter() to OnTriggerEnter().

Collisions can only be detected if at least one of the colliding objects has a call to OnCollisionEnter() or OnTriggerEnter(), depending on if you want the collider to react to collisions or triggers, and obviously both colliding objects must have a collider attached.

For further detail on understanding how to properly handle collision detection among your objects, please see this question.

As things are right now, only your player can detect collisions. For this to happen your player must have a collider attached, and be sure the IsTrigger checkbox is unchecked. If you want to make it react to IsTrigger than you should change your OnCollisionEnter() to OnTriggerEnter().

Collisions can only be detected if at least one of the colliding objects has a call to OnCollisionEnter() or OnTriggerEnter(), depending on if you want the collider to react to collisions or triggers, and obviously both colliding objects must have a collider attached.

For further detail on understanding how to properly handle collision detection among your objects, please see this question.

As things are right now, only your player can detect collisions. For this to happen your player must have a collider attached, and be sure the IsTrigger checkbox is unchecked. If you want to make it asreact to IsTrigger thenthan you should change your OnCollisionEnter() to OnTriggerEnter().

CoolisionsCollisions can only be detected if at least one of the colliding objects has a call to OnCollisionEnter() or OnTriggerEnter() (depending, depending on if you want the collider to track ofreact to collisions or triggers), and obviously both colliding objects must have a collider attached.

Please see this question forFor further detail on understanding how to handle properly handle collision detection among your objects, please see this question.

As things are right now only your player can detect collisions. For this to happen your player must have a collider attached and be sure the IsTrigger checkbox is unchecked. If you want to make it as IsTrigger then you should change your OnCollisionEnter() to OnTriggerEnter().

Coolisions can only be detected if at least one of the colliding objects has a call to OnCollisionEnter() or OnTriggerEnter() (depending if you want to track of collisions or triggers) and obviously both colliding objects must have a collider attached.

Please see this question for further detail on understanding how to handle properly collision detection among your objects.

As things are right now, only your player can detect collisions. For this to happen your player must have a collider attached, and be sure the IsTrigger checkbox is unchecked. If you want to make it react to IsTrigger than you should change your OnCollisionEnter() to OnTriggerEnter().

Collisions can only be detected if at least one of the colliding objects has a call to OnCollisionEnter() or OnTriggerEnter(), depending on if you want the collider to react to collisions or triggers, and obviously both colliding objects must have a collider attached.

For further detail on understanding how to properly handle collision detection among your objects, please see this question.

Source Link
Leggy7
  • 1.5k
  • 15
  • 32

As things are right now only your player can detect collisions. For this to happen your player must have a collider attached and be sure the IsTrigger checkbox is unchecked. If you want to make it as IsTrigger then you should change your OnCollisionEnter() to OnTriggerEnter().

Coolisions can only be detected if at least one of the colliding objects has a call to OnCollisionEnter() or OnTriggerEnter() (depending if you want to track of collisions or triggers) and obviously both colliding objects must have a collider attached.

Please see this question for further detail on understanding how to handle properly collision detection among your objects.