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
1
Question by Alont · Feb 10, 2013 at 09:50 AM · animationmayamesh renderer.anim

How to animate mesh visibility within Maya?

Hello everyone,

I am looking for a way to animate the Mesh Renderer enabled/disabled checkbox within Maya.

This is causing me a lot of tedious work. I have some complex animations which I have to use a powerful animation editor such as Maya's to create.

These animations have many instances of mesh visibility turning on and off. When I import them into unity, it ignores the visibility channel, making all of my meshes visible the entire animation.

Right now, to solve this, I extract the .anim files from the FBX and add every keyframe into the animation manually. If anything changes in the asset and it has to be reimported, I have to do this all over again in most cases.

This is hours of tedious work, and I find it very hard to believe there's no way around this, so here I am...

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

3 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by Alont · Feb 11, 2013 at 12:44 PM

Is there any answer to this?

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 Volcanic-Penguin · May 30, 2013 at 09:28 PM

After having just found out I can toggle visibility in Maya yesterday, I am now disappointed to see Unity doesn't support it. I've been scaling stuff down so it's really tiny and hidden them under the ground, but that's a messy solution and only works for grounded objects, or you could hide the objects inside of a mesh in the animation that's always visible, but again a messy solution. Another alternative is setting visibility with code depending on what animation that's playing, but that's not great if you want to toggle visibility within an animation, as you'd have to use a timer, or break up your animation clip into separate animation clips based on when you want something to be visible.

Unity should just support the visibility toggle from Maya.

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 maxwelldoggums · Jul 01, 2013 at 08:42 PM

You could write a simple script which enables or disables the meshRenderer, and then use AnimationEvents to trigger it. http://docs.unity3d.com/Documentation/Components/animeditor-AnimationEvents.html

I think that's the closest you'll get to direct visibility keyframing unfortunately :(

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

11 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

Related Questions

Can I make animations snap to a frame? 1 Answer

Animation Mecanim - Parts of model displaces after animating 0 Answers

FBXs geometry rendering in wrong place when re-exporting from Maya 1 Answer

Trouble importing simple animations from Maya 2 Answers

Animations not appearing in the inspector. 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