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 MisterTelecaster · Nov 04, 2012 at 03:07 PM · animationmodelriggingcustomizationskeleton

Multiple Models sharing the same Animations?

This is probably a total noob question, but I'm completely new to Unity, so I figured I'd ask before I go and try my own thing for several hours to find that it doesn't work.

First off, animation sharing.

I want to make a generic set of pistol animations, firing, reload, running, meleeing, etc. and rig not several different pistol models, but several different pistol PART models to share this animation, so that players can combine different slides, frames, barrels, and accessories to make their own customized weapons. Another example would be another game I'm working on where I want players to be able to combine different blades, grips, pommels, and cross guards to create a custom sword, but I want all the different parts to follow the same swinging/stabbing/finishing move animations as one solid weapon.

Second, animated skeleton sharing.

Let's use the simple example of making one human skeleton, with all of the necessary animations, and assigning it a male and female body model to share the animations and skeleton. I know I can cheap out and just copy it, but I'd rather not do that, as I intend to have a LOT of animations all shared between ten or so meshes, and I can see this taking up enormous amounts of memory in no time at all. On top of that, I'd want to add clothing and equipment that could share the same skeleton and animations, but would replace the mesh of the body underneath it to prevent unsightly clipping, and also just because I think it'd be incredibly inefficient to render one mesh that will, at all times that it is equipped, be completely blocking out the model underneath it. For example, if a player equips a glove, the character's hand stops rendering because there's a glove over it. But I'd also like to be able to tell the game to leave the underlying mesh rendered for certain things, in case they don't cover the body part entirely.

How do I do all this?

I'm no stranger to programming, so I don't need someone to hold my hand and tell me everything I need to do step by step, I just need to be pointed in the right direction, or be told that I can't do this in Unity so I don't go and waste my time trying to figure it out.

Actually, I remember from modding TES4 that they do the same thing for characters. Hopefully if my request is confusing that might help clarify. I think Skyrim probably does the same thing, but I've never tried modding it so I can't say for sure.

I'm also using Blender for all my models and skeletons and animations, and the FREE version of Unity.

Thanks in advance

Edit: This doesn't even need to be done straight from Unity, could this be accomplished with some clever scripting or something?

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 Montraydavis · Nov 04, 2012 at 07:47 PM 0
Share

Unfortunately, there really is no way to do this natively in Unity 3. However, Unity4 has a feature called mecanim . It's amazing, and does everything mentioned above + more :D . You'll have to either use a 3D software package for this, purchase a 4.0 pre-beta license, or wait for Unity4 to go public .

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by Paulius-Liekis · Nov 06, 2012 at 10:07 AM

Check out Mecanim in Unity 4.0 ;)

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

12 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

Related Questions

Attempting to rotate entire upper body rig [Blender to Unity] 1 Answer

How do i make swapable armors? 2 Answers

Daz studio model eyelashes are not following the body 0 Answers

Animating a humanoid skeleton using text files 0 Answers

my character has different root bone scale to other bones and two bones IK not work correctly 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