Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
12 Jun 22 - 14 Jun 22
sparklines
Close Help
  • 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 /
avatar image
0
Question by Rhinoid · Apr 28, 2019 at 03:57 PM · spritetilemapcollision2d

How can I disable collision for 1 tile?

I have a platform which exists of 4 tiles. The top 2 tiles have a small collision shape. The bottom 2 tiles should have no collision.


alt text


I tried removing all custom physics shape points on the bottom 2 tiles, but somehow it still generates an outline around it. Even though I have the 'generate physics shape' setting turned off:


alt text


A third option I read somewhere is to set the tile collidertype. link text However whatever tile I click in my tile map, or my palette, the property is always greyed out.

Does anyone have an idea how to have a tile collisionfree?

thanks!

screenshot-2019-04-28-at-174745.png (96.4 kB)
screenshot-2019-04-28-at-175133.png (9.1 kB)
Comment
Add comment · Show 4
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 highpockets · Apr 28, 2019 at 04:57 PM 0
Share

Can you not just delete the collider in the inspector when you select the game object??


You should be able to edit / delete the collider component attached to the game object in the inspector

avatar image Rhinoid · Apr 29, 2019 at 05:44 AM 0
Share

Hi, this is about 1 tile in the tilemap component. So not a game object. All tiles can be edited using the sprite editor. However when I remove the physics shape completely from a sprite (tile), then it will get a default shape which I don't want.

avatar image highpockets Rhinoid · Apr 29, 2019 at 10:09 AM 0
Share

An option would be to remove the collider/physics shape completely and then when you have your scene setup, use the polygon collider and edit it to get the shape you need.

avatar image Rhinoid highpockets · Apr 29, 2019 at 11:31 AM 0
Share

I would have guessed that is a lot of work extra. But maybe you are right that that is much simpler

4 Replies

· Add your reply
  • Sort: 
avatar image
8

Answer by blu3drag0n · Nov 01, 2019 at 03:26 PM

Hi,

I was dealing with this issue since 2 hours now and unfortunatly there is nothing documentated. Even there are not much finding the forum nor reddit nor stackoverflow and so on... BUT i figured it out whats the point! What you need to do is go into the folder with all the generated Tile Assets. And then select (Multiselect & change is possible) the specific tiles you DONT want to have a shape generated the collider type to "None". By default its "Sprite" , due to the fact that you usually import it as a Sprite. If you have a custom physics shape on a single tile then you have to choose "Sprite" still. You will find these Tile Assets in the folder that you have selected when dragging&dropping a sprite into a Tile Palette and Unity asks you to choose a folder where to store all the generated Tiles.

Bingo!

KR

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 nikolajulstrup · Feb 18 at 10:29 AM 0
Share

And for anyone who uses rule tiles, you also have to select the collider as "None" for the selected tile inside the inspector of your rule tile. Like this: alt text

avatar image
3

Answer by Moreus · Oct 20, 2020 at 04:46 PM

alt text in tiles folder check your tiles


zrzut-ekranu-2020-10-20-184459.png (16.0 kB)
Comment
Add comment · 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
0

Answer by Squitz · Nov 01, 2019 at 07:17 PM

What about putting it on a seperate tilemap without collisions?

Comment
Add comment · 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
0

Answer by tomiu · Aug 03, 2021 at 07:47 PM

If you want to make a particular tile in your tilemap not collide, you can select that tile's custom physics shape in the tilemap's sprite editor, and drag all the shape's vertex points to overlap at 1 point, causing the physics shape to have dimensions of 0.,On the custom physics shape for the tile you want to have no collision, you can drag all the vertices to 1 point so that the collider has no size.

Comment
Add comment · 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

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.

Follow this Question

Answers Answers and Comments

143 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 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 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

2D tilemap building game top-down,2D TopDown Building game with tilemap 0 Answers

Player gets stuck when using precise collision shapes 2 Answers

Generate Tiles Programatically Over Player Position? 0 Answers

tilemap collision not working with sprite 2 Answers

Composite Collider on Tilemap not really stopping player 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