Hello Guest

Author Topic: 2d Rigidbody Sprite falls inside tile.  (Read 3948 times)

bartleycollin

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 8
    • View Profile
2d Rigidbody Sprite falls inside tile.
« 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.)

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: 2d Rigidbody Sprite falls inside tile.
« Reply #1 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.

bartleycollin

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: 2d Rigidbody Sprite falls inside tile.
« Reply #2 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..