Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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 atmuc · Oct 22, 2015 at 05:59 AM · animationmecanimtransition

How can i jump my character immediately With Mecanim

I have a run and a jump animation. when i set a good looking transition it waits the end of run to jump, so it is not responsive. How can i setup a jump animation that can run immediately and have good looking transition?

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 npatch · Oct 22, 2015 at 06:22 AM

Have you looked at BlendTrees?

Seems to me you want a smooth transition from run to jump and back. If I'm not mistaken you can do a blend between them using the speed and a key or sth as the trigger for the transition to jump.

Official BlendTree tutorial

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 PictonicStudio · Oct 22, 2015 at 06:42 AM

What you are asking is possible.

You just need to click on your transition, and uncheck has exit time.

alt text alt text


uncheck.png (16.9 kB)
transitionclick.png (19.1 kB)
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 npatch · Oct 22, 2015 at 06:52 AM 0
Share

Thought of that but he mentioned a good looking transition and removing the exit time would be abrupt, which is why I mentioned BlendTrees. You can do much smoother transitions with them.

avatar image
0

Answer by atmuc · Oct 22, 2015 at 07:15 AM

@npatch @PictonicStudio My major problem is delay. if there is delay after jump button is tapped, character will crash to an obstacle. For smooth transition, timing is important. Jump starts with the left foot. if player tap jump button when running is on the right foot smooth transition is not easy. maybe i can use mirrored states and check state's normalized time.

Comment
Add comment · Show 2 · 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 npatch · Oct 22, 2015 at 11:10 AM 1
Share

Try Pictonic's way but if it's not what you want and you want sth smoother,check out BlendTrees....You don't have to stop the run animation and start the jump so much as starting Jump before actually stopping the running animation to get a smooth transition. and then the weight of blending shifts towards the Jumping.

avatar image atmuc npatch · Oct 22, 2015 at 11:14 AM 0
Share

i tried BlendTree. result is not good because run and jump animation is not suitable for blendtree. i unchecked exit time and used original and mirrored jump animations. it works fine with normalized time. it uses right or left leg for proper jump.

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

40 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 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 avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

How to stop mesh disappearing during Animator state transition blend time? 1 Answer

Mecanim transition condition can't have both bool and trigger? 0 Answers

What are those white curves in the animation transition panel - And can I read it in script? 0 Answers

Mecanim, Interrupting Transitions 1 Answer

(Mecanim issue) How to get several Walk Cycle Stop Animation with proper foot placement and smooth transition? 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