- Home /
tilemap collision not working with sprite
I made a tilemap with unity's built in tilemap tools. I also added the tilemap collider 2d. I added a standard sprite, put movement script on it that IO found online, and when I run the game the sprite that I control with arrow keys passes through the tilemap.
This is my first time using tilemaps with Unity, I don't have much experience with tilemaps in general though.
Using Unity 2019.1.4
Answer by G0DF4THER · Jun 15, 2019 at 06:29 AM
I don't know if this will work or if you have already done it but have you tried putting a Rigidbody2D on one of your objects and setting it to type kinematic?
Answer by OmerPasa3328 · Aug 27, 2021 at 11:04 AM
I have also some problems with it . I checked whether it has "Ground" tag or not but it isn't working propperly for some reason?
Your answer
Follow this Question
Related Questions
2D Tilemaps: how to set colliders on scriptable tiles derived from Tilebase class 1 Answer
2D Objects interacting with colliders and gravity seemingly at random 0 Answers
2D Platformer physics rotation Movement script - How to roll/flip a square on his edges ? 0 Answers
Why aren't my 2D sprites colliding properly? 2 Answers
How can I allow the rope to correctly interact with Box and Polygon colliders? 0 Answers