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 Sevvy325 · Jun 30, 2013 at 04:56 AM · animationblendermecanimgeneric

How to Properly blend three jump animations with mecanim

So my character has three animations created in blender as it is non-humanoid.

  • jump

  • Airborne

  • Landing

Right now I have when a bool is set to true, the jump animation starts and once it completes, the Airborne animation plays until a bool isAirborne changes to false, then I change to the landing animation which exits to Idle again upon completion.

My problem is that the landing animation is played 2 times, during the airborne-landing transition and then again during the landing-idle transition. Is there a way to prevent this?

I had thought about using raycasts but it seemed like overkill.

Comment
Add comment · Show 2
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 bodec · Jun 30, 2013 at 06:20 AM 0
Share

what animation system are you using?

avatar image Sevvy325 · Jun 30, 2013 at 06:22 AM 0
Share

$$anonymous$$ecanim. The animations themselves are separate clips made in blender.

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by bodec · Jun 30, 2013 at 06:28 AM

first ill show a picture of a tree for jumping then explain what to use.

alt text

to start the jump start use a bool when true start the jump, then on the transition out of the jump start mark exit time here is a photo to show

alt text

keep using exit time the rest of the way. you may nee to mess with the exit times to get a smoother animation.


capture006.png (40.3 kB)
capture009.png (23.5 kB)
Comment
Add comment · Show 6 · 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 Sevvy325 · Jun 30, 2013 at 06:31 AM 0
Share

Okay, but my problem is my character could be in the air for variable lengths of time. So I don't know when he's landing until he does. Unless I was to use a raycast to predeter$$anonymous$$e.

avatar image bodec · Jun 30, 2013 at 06:32 AM 0
Share

are you using the free or pro version of unity?

avatar image Sevvy325 · Jun 30, 2013 at 06:33 AM 0
Share

Currently the free version

avatar image bodec · Jun 30, 2013 at 06:37 AM 0
Share

i am not for sure if its for free version but in the tree set up there is a way to measure and hold off on exit time the video tutorial on mecanim that unity put out is where it is at

avatar image Sevvy325 · Jun 30, 2013 at 07:16 AM 0
Share

Okay, so I have it to do that now and it works perfectly. $$anonymous$$y problem is it waits until my airborne animation is over to transition to the landing one. Is there any way to make the transition instantaneously with a bool change?

Show more comments
avatar image
0

Answer by Talmore · Feb 19, 2014 at 05:56 AM

or you could use a blend tree in the animator that reads the vertical speed of the character. check out the tut put out by Unity.

youtube video

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

17 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

Related Questions

Mecanim : is it possible to use the same Generic animations on multiple objects sharing the same skeleton ? 0 Answers

How to make natural character animations? 1 Answer

What happens to Blender IK bones in Mecanim? 2 Answers

Blender animations to Unity problems 0 Answers

What exactly can i do with Mecanim? 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