Hi, so my Player, NPC, Tilemap objects all have colliders (box collider2d, tilemapcollider2d), and they all also have rigidbody2d. I want it so that my player won’t walk through anything that has a collider. I’ve spent 4 hours looking around through videos and forums, but no luck. All these videos make it look simple, and it is, but yet nothing is working for me. I’ve tried starting over and still no work.
Any insight as to why this isn’t working would be greatly appreciated.
Hi,
For your player collider you have selected “Is Trigger”. Trigger collider will not interact with other rigid bodies.
For player to not to walk through other objects make sure on both colliders is trigger is unchecked.