2D Toolkit Forum

2D Toolkit => Support => Topic started by: bartleycollin on April 01, 2014, 10:51:11 pm

Title: 2d Rigidbody Sprite falls inside tile.
Post by: bartleycollin on April 01, 2014, 10:51:11 pm
So I'm working in 2d toolkit, for my Game Jam. I have a recurring issue. My "player" is a rigidbody tile. When it lands on this certain tile, it always falls through inside the tile, where it sits. I thought that maybe it was an issue with just that tile, but when I switch it with another, it does the same thing. Any ideas? (I can supply pics if needed.)
Title: Re: 2d Rigidbody Sprite falls inside tile.
Post by: unikronsoftware on April 01, 2014, 11:04:15 pm
You probably want to look at all the usual suspects - gravity magnitude vs object size, complexity of the player rigid body, where you're moving it, etc. There isn't anything special about the 2d tile map stuff - they are just normal 2d edge colliders.
Title: Re: 2d Rigidbody Sprite falls inside tile.
Post by: bartleycollin on April 01, 2014, 11:08:47 pm
Both objects have square shaped colliders. The player is slightly smaller than the tile... I'll keep looking..