Search Unity

  1. Unity 2019.1 beta is now available.
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. We're looking for insight from anyone who has experience with game testing to help us better Unity. Take our survey here. If chosen to participate you'll be entered into a sweepstake to win an Amazon gift card.
    Dismiss Notice
  4. Want to provide direct feedback to the Unity team? Join the Unity Advisory Panel.
    Dismiss Notice
  5. Unity 2018.3 is now released.
    Dismiss Notice
  6. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice

Character Controller & Tilemap Collider 2D

Discussion in 'Physics' started by rvenson, Jan 21, 2018.

  1. rvenson

    rvenson

    Joined:
    Feb 12, 2017
    Posts:
    2
    Is there any issue about Tilemap do not work with Character Controller?

    I have a character controller in a scene and tilemap collider 2D simply do not work. My character stills interacting normally with box or other colliders.

    PS.: Kinematics body don't interact with Title colliders too
     
    Last edited: Jan 21, 2018
  2. thaller99

    thaller99

    Joined:
    Dec 7, 2018
    Posts:
    1
    Same here, any news?
     
  3. MelvMay

    MelvMay

    Unity Technologies

    Joined:
    May 24, 2013
    Posts:
    1,571
    Can you please be more specific. What is "Character Controller"; your own script or some third party script? What do you mean by "issue"?

    Again, you need to be more specific on what you mean. I am assuming the TilemapCollider2D is static i.e. it's either not attached to a specific Rigidbody2D or attached to one set to be Kinematic/Static. Kinematic bodies never produce a collision response. Also, Kinematic bodies by default do not produce contacts. You can turn on contacts (but not collision response) by using this.

    I think you need to describe your problem more accurately because TilemapCollider2D are no different than any other collider, the underlying physics system knows nothing of these component types. A TilemapCollider2D produces the same polygon primitives that the PolygonCollider2D does.