- Home /
Collider2D entering other colliders
So I have a 2D project where the player can pick up and move objects. All have Collider2D and Rigidbody2D components. The player is on one layer, the objects are on another, any held objects are moved to a third layer that doesn't collide with the player layer. Because the position of any held items is locked while being carried, it ends up being carried through other items, even if they shouldn't be able to collide. I'd like to be able to prevent this, because it means players can move the items through walls or place them on other objects.
I appreciate any help!
Your answer
![](https://koobas.hobune.stream/wayback/20220612212506im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
How to get some kind of SpriteMask from a PolygonCollider2D ? 1 Answer
Physics 2d raycaster from EventSystems for overlapped colliders 0 Answers
Physics.OverlapCircle not working when Layermask is applied 0 Answers
I want to get the width of a part of a TilemapCollider2D. Explained with image inside. Help! 0 Answers