Timeline for Unity: Object is underneath another object but shouldn't be
Current License: CC BY-SA 3.0
7 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Apr 5, 2015 at 0:58 | comment | added | Savlon | One of the objects needs to have a rigidbody2D attached too... | |
| Jan 4, 2015 at 21:15 | comment | added | JeanLuc | can you debug if OnCollisionEnter2D is called? additionally you need to share screenshots of your hierarchy and the inspector view of both gameobjects | |
| Jan 4, 2015 at 21:04 | comment | added | But I'm Not A Wrapper Class | Now that puts the red object over the yellow object. | |
| Jan 4, 2015 at 19:49 | comment | added | JeanLuc | take a look at my updated answer with colliders and layer ordering. | |
| Jan 4, 2015 at 19:49 | history | edited | JeanLuc | CC BY-SA 3.0 | added 394 characters in body |
| Jan 4, 2015 at 19:18 | comment | added | But I'm Not A Wrapper Class | Same problem. The red object appears below the yellow object and nothing happens. | |
| Jan 4, 2015 at 19:08 | history | answered | JeanLuc | CC BY-SA 3.0 |