2D Toolkit Forum

2D Toolkit => Support => Topic started by: sfbaystudios on December 28, 2012, 12:37:34 am

Title: Sinking into Tilemap tiles (but not hand-copied ones)
Post by: sfbaystudios on December 28, 2012, 12:37:34 am
Hello,

My character seems to sink into tilemaps (all directions) but not into the tiles I created by hand (copy/paste) before I started to use the tilemaps.  Also, creating a new sprite tile shows but character does not collide.  All the colliders are set to Box Custom (without changes).  I try to expand the Z size of the collider, but when the game starts it returns to 0.2.

I'm not sure how, but the sprites I had been using for copy/paste have z size (of the collider) set to 100 and it does NOT change when the game starts.  They all come from the same sprite sheet.

The only difference seems to be the z size of the box collider -- is there a way to keep it from reverting to 0.2 (or even better to default to 100 or something bigger?) as it seems that the character falls through even though they're all on the same z-axis.
Title: Re: Sinking into Tilemap tiles (but not hand-copied ones)
Post by: unikronsoftware on December 28, 2012, 02:15:49 am
You can change the z depth in the sprite collection editor - it won't change then.
Title: Re: Sinking into Tilemap tiles (but not hand-copied ones)
Post by: sfbaystudios on December 28, 2012, 02:30:48 am
Ah, I see "Collider Depth"