- Home /
Stacking 2d blocks on each other.
So, I am trying to stack multiple 2d blocks on top of one another. All the objects have box colliders and 2d rigidbodys. The blocks, when they spawn, go through eachother and do not stack. The blocks do however, collide with a box collider properly, that I have setup as a frame for my game.
How would I go about trying to get the blocks to stack on each other?
Do you know the difference between BoxCollider and BoxCollider2d ?
yes, I appoligize. I already have my blocks setup with a box collider 2d.
I figured out my issue. Very simple once I realized the problem. Somehow the size of the box collider had been modified.
Your answer
Follow this Question
Related Questions
How can I make the collider from the points ignore the ghost but not pacman? 3 Answers
Weird 2d collision behaviour 1 Answer
Problem with platformer game 0 Answers
Box Collider 2D and Hollow collision. 0 Answers
Coin collection script (not working) 1 Answer