Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 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 Fanttum · Oct 21, 2014 at 07:11 PM · collisionmeshefficiencyflat

What is Most Efficient for a Flat Wall, Etc.

So in my 3d game I need some flat invisible walls with no texturing but a collider, and also some flat objects that I am putting on top of stuff without colliders. (Think like a poster on a wall, or a path on a ground that doesn't need a collider, but is just for show.)

So I have been wondering what is the most efficient way of doing this? The two ways I have been doing it is with Planes for the posters, etc. and then flattened cubes for the invisible walls. (with their mesh render off) I could mix or swap these but idk which works best. I would think the planes cause they are flat, but it looks like their mesh is complex. While the cube is still "3d" its mesh looks rather simple. Any ideas on which is better? Or any other ways of doing this? Thanks!

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

2 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by Cherno · Oct 21, 2014 at 07:18 PM

I would suggest creating a simple 4-vertex plane in your 3d modelling applikcation and import it into Unity, and use the mesh as a MeshCollider for the wall colliders. This would be the most efficient way because you only have as many vertices as you need. Posters can also be done with the imported plane, this time of course as a proper gameobject that has a MeshRenderer and Material of the poster art applied to it.

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
1

Answer by MrSoad · Oct 21, 2014 at 07:31 PM

Using a plane as a collider is maybe not the best idea, it can be quite easy to pass through a mesh collider attatched to a plane. You are better off using a box collider with some depth to it. For adding posters, paths etc look at the available Decal Systems on the asset store, they do exactly what you need and will avoid the Z fighting issues that you will probably get from doing it Cherno's way.

Comment
Add comment · Show 4 · 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 Fanttum · Oct 21, 2014 at 09:37 PM 0
Share

While it seams there is no "Right" answer to this question I appreciate the help, and thumbs up!

Also, link for the lazy to the decal assets?

avatar image MrSoad · Oct 21, 2014 at 09:41 PM 0
Share

Just put Decal into your asset search. A free one is the first to pop up. I've not used one for a while and the one I did use(which was free) is now $95 and I could not see a free version of it. Will have another look.

avatar image MrSoad · Oct 21, 2014 at 09:45 PM 1
Share

I would try the first free one. Edelweiss one def seems not to have a free limited option anymore :(

I've not used the other but may get it sometime soon(day or so) and have a play with it. It seems like I need a new one...

avatar image Fanttum · Oct 21, 2014 at 09:46 PM 0
Share

Right, just looking on my own I saw some, just wanted to know which you recommend.

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

29 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

Related Questions

How to stop meshes from penentrating each other 0 Answers

Collision for Animating Meshes 1 Answer

How to setup collision with freshly generated mesh and prefabs 1 Answer

Rigidbody w/ sphere collider falls or pushes through mesh collider. 0 Answers

Mouse click a collision mesh 3 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