• 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 SteenPetersen · Feb 18, 2018 at 09:06 PM · isometricorthographic2.5dperspectivez-fighting

2d isometric - 3d render order

Hello,

I am making a 2d isometric game that has 3d elemnts to it. and what I want is for my 2d sprites to render with regards to 3d objects much like they do with regards to each other. So the question I have is part technical, part architectural. I have been looking around for a good solution for this for some time and have still not solved this issue. here are a few of the threads I have looked at:

https://forum.unity.com/threads/2d-sprites-in-a-3d-environment-going-beyond-billboarding.121900/

https://forum.unity.com/threads/2d-sprites-perspective-camera-z-fighting-render-order.214435/

https://answers.unity.com/questions/989761/mixing-2d-sprites-with-3d-environment-sorting-issu.html

https://answers.unity.com/questions/1444703/sprite-sorting-layers-in-3d-environment.html


Just to name a few.

here is a gif to illustrate my point:

alt text

Now this could be somewhat done with setting the mesh renderers Materials to Fade or transparent. but it still messes up a bit when on the sides of the mesh, my game gets further complicated by the fact that I am able to rotate the games camera around a parent axis:
alt text
I have taken the time to make proper gifs showing the issue so that others that encounter this thread in the future can get a concrete answer to it as well. Anyone able to shed some light on this would be a boon to the 2.5d isometric community as it really seems to be an issue for many.

My question is how can I make it so that my character does not clip through the renderer, but still can go behind it.

Any help is greatly appreciated.

deleteme1.gif (518.2 kB)
deleteme.gif (351.6 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 Cherno · Feb 19, 2018 at 12:30 AM 0
Share

$$anonymous$$aybe this article will help:

Sprites in a $$anonymous$$odel's World

Show more comments

0 Replies

· Add your reply
  • Sort: 

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

78 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

Related Questions

2.5D Character shows wrongly when I use 3D Perspective View 0 Answers

Vertical Perspective / Horizontal Orthographic 1 Answer

Can I make a camera that has an orthographic vertical axis, but a perspective on the horzontal axis? 1 Answer

Drawing on the same screen with different cameras? 1 Answer

Rendering a 3D object within a specific area/bound? 1 Answer


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