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 MD_Reptile · Oct 15, 2012 at 12:41 AM · animationblender

Character animations - Seperating a body parts animations/splitting animation

I am about to start animating a character for use in a unity game, but I am running into a problem:

I need the have animations for him to run like normal, and also need to be able to have his right arm holding a weapon, and aiming the weapon with LookAt towards a raycast (his firing of the weapon depends on a ray from player input depending on platform).

So the problem means I need a way to have his arm as either a seperate object inside unity, and handle the aiming seperately? or perhaps I need to make changes to his skeleton in Blender to allow that arm to be seperately animated? How would you accomplish this kind of animation system with blender/unity?

Keep in mind that the character is either standing still, or most of the time, running forwards, and that he never rotates his body, just aims his weapons around as he fires toward targets.

Comment
Add comment · Show 3
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 MD_Reptile · Oct 15, 2012 at 12:42 AM 0
Share

PS If thats too hard to understand, I could upload the development build AP$$anonymous$$ for testing on android devices

avatar image Seth-Bergman · Oct 15, 2012 at 01:13 AM 1
Share

well, I believe you should be able to just access the arm bone via scripting to animate the arm as desired. In which case you would probably want to avoid having the arm in question animated as part of your base animation(s), but just rotate the arm bone directly via code.. This should work on top of other animations that are playing I believe.. also have a look here:

http://docs.unity3d.com/Documentation/$$anonymous$$anual/AnimationScripting.html

using additive animation similar to the example here may be another alternative, depending on your exact needs.. you can have multiple additive anims playing at once too, such as an up-down arm movement, a left-right arm movement, and your base running/idle. Either way, I don't think there are any additional special requirements for setting up your model.

avatar image MD_Reptile · Oct 15, 2012 at 04:24 AM 0
Share

thanks for the info, I will look into this and check back later!

2 Replies

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

Answer by MD_Reptile · Oct 15, 2012 at 02:05 PM

Thanks for the help, what worked for me was to animate everything but the bone i needed to script the movement for, then drag and drop in inspector, and modify the transform of the bones game object, how easy! I love unity lol.

Anyway thumbs up to You guys for the pointers!

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 Paulius-Liekis · Oct 15, 2012 at 01:33 PM

Look into AddMixingTransform function.

See this tutorial: http://unity3d.com/support/resources/example-projects/3rdpersonshooter And video "Unite 09 - Character Animation tips and tricks" about it here http://unity3d.com/unite/archive/2009

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

making and exporting animations involving multiple separate objects from to unity 0 Answers

Problems with an animation 0 Answers

How to fix main camera moving with animation of parent player object? 1 Answer

Blander animation moves differentry in Unity 0 Answers

Conversion warning: has translation animation. It is not supported 2 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