• 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 Byss · Nov 06, 2014 at 07:30 PM · scaleboneoptimisationtriangle

Scaling bones to 0, what happens with the triangles?

So, I want to scale some bones of an animated creature model to 0 to have the possibility to add or remove limbs. I'm just wondering how these scaled triangles are calculated. Let's say my full mesh is made of 10000 triangles but 2 bones are scaled to 0 to make it look like a 8000 triangle model. Is it still calculated as a full 10000 triangle animated model? If so, is there a script or something that would make all these scale vertexes be calculated as only 1, since they would all be at the same exact location? I hope i'm making myself clear, my english might not be on point. Thanks in advance for the help.

Comment
Add comment · Show 1
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 Itaros · Nov 06, 2014 at 08:34 PM 0
Share

Check how transformation matrices work

2 Replies

· Add your reply
  • Sort: 
avatar image
0
Best Answer

Answer by FairGamesProductions · Nov 06, 2014 at 09:41 PM

One solution would be to go back into your 3D editing software and split the mesh in the locations you need. For example, have the left arm as one mesh and the rest as the other. Rig the entire thing as one mesh (even though there are 2) and export as FBX. Import into unity and you'll have your character with 2 meshes. Now when you need to, scale your bones to zero and disable the Renderer of the Arm (or whatever piece/s you separated). This way the piece of the mesh you disabled the renderer for is no longer calculated.

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 Byss · Nov 07, 2014 at 02:49 AM

Thanks, that did the trick. I just added alpha around the edge of the added limb and disabled it to cast shadow so they blend together perfectly.

But that created another problem. Is there a way to make the limb cast shadow on everything exept a specific object?

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 FairGamesProductions · Nov 07, 2014 at 09:18 AM 0
Share

As far as I know, you would need to disable ReceiveShadows on the object you don't want shadows on. But that would disable ALL shadows from casting on the object. Can you give a little more details?

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

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

Scaling width/height of a character's head/body 5 Answers

Bake mesh scale. 1 Answer

Scale bones of an animated FBX 0 Answers

CG shader tile issue 1 Answer

Object changes shape randomly. 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