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
1
Question by arn.zhan · Sep 25, 2011 at 10:36 AM · animationblenderloop

Character Animation loop not smooth

Hi all,

I've searched the web and read the 'Character Animation' doc but still do not know how this happened:

I made a rabbit in Blender, who have a 'walk' animation;

(Don't know how to put youtube video here directly, the 'iframe' code seems only works in preview)

It runs smoothly in Blender: http://www.youtube.com/embed/A1kIid_ekoI

But not so smooth in Unity: http://www.youtube.com/embed/jY4xKfYTlYY

It seems between two loops it jumped a little.

The animation contains frames from 0~27, but only 1~20 should be used as the 'walk' loop. Looks like this: alt text

So I clipped 1~20 in FBX settings, WrapMode set to 'Loop', without checking the 'Loop' box since frame 21 is exactly frame 1.

Someone...help...plz...

alt text

Comment
Add comment · Show 6
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 syclamoth · Sep 25, 2011 at 01:51 PM 0
Share

What is your FPS in blender? Unity always imports at 30FPS, and has trouble stretching keyframes out from a baked FBX animation. I have had this exact problem, and as far as I know there is no easy way to fix it if you already have an extremely large file (like me). It can be very annoying, and if it is the root cause of the problem, it's lucky you caught it early!

avatar image arn.zhan · Sep 26, 2011 at 12:45 AM 0
Share

@syclamoth, my FPS was 24, now I changed it to 30 and... oh no, the problem remains...

I'm using Unity-3.4.0f5 and Blender 2.59, maybe they already fixed that problem you have?

and I almost forgot to say Thank You, O_O

avatar image syclamoth · Sep 26, 2011 at 07:00 AM 0
Share

I hope someone has a fix for this. It's really annoying!

avatar image asafsitner · Sep 26, 2011 at 08:51 AM 0
Share

Try adding an extra frame on each side? Could be a Unity clipping problem.

@syclamoth do you have this issue as well?

avatar image syclamoth · Sep 27, 2011 at 12:04 AM 0
Share

Not exactly. All my animations come from $$anonymous$$aya, so the solution is probably different! In my case, I have over 150 separate animations, so adding frames is kind of impractical for me. Unfortunately, the animation in $$anonymous$$aya is the wrong framerate, and it's kind of a big job to fix it up! I'm not in a very good situation, honestly.

Show more comments

2 Replies

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

Answer by kevincfy · Sep 26, 2011 at 10:04 AM

hey, got your SOS on G+ :)

I'm new to Blender but spent the weekend playing around with trying to get my character to export into Unity. When importing the FBX, the animations were never imported correctly and always played wrong. My solution was to lay out all my animations in the NLA editor, and then when exporting to FBX, make sure that 'export all actions' was disabled, and 'export default take' was enabled. I then went back into Unity and added the animations one by one. It was a little more hassle but it was the only way I could keep everything clean, and be sure the animations would play and loop properly.

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 arn.zhan · Sep 26, 2011 at 11:51 PM 0
Share

I found it! The reason is because I set the start and end frame same as the loop itself but not the entire animation (in order to test how the loop looks like in Blender). I now set it back and everything works fine! Of course I'm using your single default take method, otherwise I guess I probably will counter some other issues, Thanks!

avatar image
0

Answer by Honikou · Jul 31, 2013 at 10:21 AM

Unity support blender files.

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

6 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Animation made in blender does not loop 1 Answer

Blender Animation Looping Delay Problem 2 Answers

How to play an animation in a loop? 2 Answers

Unity Animation - Loop around a closed loop trajectory 1 Answer

Blender Path animation to Unity? 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