• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by phosphoer · Jan 11, 2015 at 06:05 PM · triggercollider 2dinside

Problem with multiple 2D triggers

I have a scene where there is a large 2D trigger (box collider 2D), that has another, smaller, 2D trigger "inside" of it. I quoted "inside" because they are two separate game objects, not parented or anything, they just happen to be intersecting.

The problem is that it seems like when the player is inside the larger trigger zone, he never gets any trigger messages for the smaller trigger zone inside of it.

Basically it looks something like this, where the red, outer rect is the first trigger zone, and the orage, inner rect is the second trigger zone. The black box is the player. I get all the Enter/Exit/Stay messages for the outer zone, but nothing for the inner zone.

alt text

Is this how Unity is supposed to work? Is there a way around this?

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

0 Replies

· Add your reply
  • Sort: 

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

2 People are following this question.

avatar image avatar image

Related Questions

Can't click gameobject when over another trigger? 1 Answer

2D colliders don't appear to be detecting each other 1 Answer

Can't seem to get 2D colliders to trigger. 2 Answers

Collider2D and Z-Axis 0 Answers

Is OnTriggerEnter always fired when an object is already inside? 0 Answers

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges