• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
  • Help Room /
avatar image
0
Question by ShroomWasTaken · Feb 28, 2016 at 03:37 PM · 2dmaptiles

A good 2D tile map editor that works with Unity?

I'm having some problems with colliders on tiles, the player seems to bump when walking across a tiles collider.

So, I'm looking for some way, that automatically "merges" colliders, if possible.

Like this :

(link because I could only have 2 images in the post.. :/ )


Since my problem is that the player keeps bumping when walking across colliders, this problem will be solved since the player no longer needs to walk across colliders.

Here's a full map example of how unity would do the colliders (if i use tiles) :

alt text

But, I would like it to be this way :

alt text


Simply :

I would like to merge several colliders that are right next to each other to be merged into 1 collider.

4e778f5d18f9d5dbb8a1b5cb2506a909.png (127.2 kB)
c04527a3a03a84444d6f22a80789ae66.png (116.8 kB)
Comment
Add comment · Show 2
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image tvg · Mar 21, 2016 at 04:27 PM 0
Share

If your problem is getting stuck on the tiles with your character you could try using a different collision box. Use a circle collider for the bottom. This will allow you to walk over small steps.

avatar image Aryenir · Mar 21, 2016 at 05:07 PM 0
Share

I may be wrong, but as far as I know, Unity already treats any colliders with no Rigidbodies attached to them as a single thing, so maybe merging them isn't exactly the solution? That said, maybe it would be best to create the colliders in runtime based on the areas occupied by the Tiles.

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by Zehru · Feb 28, 2016 at 10:31 PM

Hi, have you already tried to use Tiled? It's a software to make tilemaps( you make tiles in photoshop, gimp, artrage, etc). this software, used with TiledtoUnity, can be a easy way for you to do your maps, and already with colliders :) here the link: http://www.mapeditor.org/

PS: If you don't have the license to use photoshop, try to use Gimp. It's not so good as photoshop, but can help you :). Or you can buy ArtRage that is very cheap, and very good here the link: https://www.artrage.com/

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image ShroomWasTaken · Feb 29, 2016 at 07:13 AM 0
Share

Yes, I tried that though I need to be able to modify the map in-game. And by modify I mean I need to be able to move the sprites one by one, which Tiled doesn't allow :/

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

61 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

[SOLVED] Converting a Generic List to JSON in Unity 3 Answers

adjacent tiles within range 1 Answer

2D Tilemap using UV Coordinates with nice transition between different tiles? 1 Answer

Movement and zoom of camera on the map 0 Answers

How to connect a set number of nodes on a map into a grid? 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges