Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
12 Jun 22 - 14 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 cesarcastro15 · Apr 05, 2019 at 04:51 PM · positionanimationsavatarhumanoidy-axis

Animation always changing object position

I have a humanoid and I have added some animations made in Mixamo to it. I have made also a parent object that contains the Body with its animator attached so that I will use the relative position to its parent. However, I have some animations that occur when the humanoid is sit and also a sitting animation. I get that the humanoid instead of sitting down, it goes up and actually sits on the air. So I changed the sitting animations to modify Y on the humanoid Body so it will go down to y = -3.5f. It actually works smoothly inside the animations tab but when I run it, even though it changes its position to -3.5f after it begins to increase weirdly and in a few seconds my character is no longer sit but again in the air and to the infinite. What can I be? Here is a video that I made of my issue. https://youtu.be/tHUc7zwbI8I

alt text

body.jpg (254.9 kB)
img.jpg (256.3 kB)
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

1 Reply

· Add your reply
  • Sort: 
avatar image
4

Answer by ParadoxedOne · Apr 05, 2019 at 05:43 PM

Hey there, I may be able to help.

I would first recommend removing the -3.5f you added to the animation. Then,

  1. In the project tab, click on the sitting animation you downloaded.

2.)Then in the inspector click on the Animation button.

  1. Click the option under "Root Transform Position (Y)" that says "Bake Into Pose". This should prevent your character's Y position from drifting around.

alt text


animationhelppic.jpg (420.3 kB)
Comment
Add comment · Show 11 · 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 cesarcastro15 · Apr 05, 2019 at 08:30 PM 0
Share

Hello I just did what you told me, I used the .fbx files that I downloaded from $$anonymous$$ixamo, I changed them to Humanoid under the Rig tab and the I changed the X,Y,Z Root Transformation Rotation under the Animation. I did this process for every .fbx file. However when setting the model to humanoid and going in its configuration I get that Unity cannot figure out its T pose, so I set it to Enforce-T-Pose and it became green. Then I made a new animator and I added these modified animations. Now what is happening is that I get some strange red dots when animating and the character is not moving correctly. What is it now please? @ParadoxedOne

avatar image cesarcastro15 · Apr 05, 2019 at 08:55 PM 0
Share

https://youtu.be/1VGlEiekgQg here is a video of what is going on now...

avatar image ParadoxedOne · Apr 05, 2019 at 09:24 PM 0
Share

@cesarcastro15 At 3:07 in your video the third clip is set as a generic clip and not as Humanoid which is why your character is sitting in the ground. Also under the rig, for the animations that aren't working, ins$$anonymous$$d of using "Create From This $$anonymous$$odel" try the option "Copy From Other Avatar" and select the avatar from the first animation clip you played in your video. Hope this helps!

avatar image cesarcastro15 ParadoxedOne · Apr 05, 2019 at 10:02 PM 0
Share

Yes you helped very much and they are playing smoothly now. However now I have another issue (I'm sorry I don't know why Animations are that complicated). Here in this very short video you can see it.... https://youtu.be/gAYubk$$anonymous$$z7s8 @ParadoxedOne @xxmariofer

avatar image ParadoxedOne cesarcastro15 · Apr 05, 2019 at 10:34 PM 0
Share

Uncheck the "Bake Into Pose" option under the "Root Transform Position (XZ)". This option bakes your animation into place when checked and will not allow for movement on the X or Z axis. Also if you want your animation to be able to control your rotation you may want to uncheck the "Bake Into Pose" option under the "Root Transform Rotation" as well.

Show more comments
avatar image karthikeyuboosa · Jan 09, 2021 at 11:36 PM 0
Share

Thanks. It worked!

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

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

Related Questions

humanoid character and animations 1 Answer

Problems with using animations for a model that has different proportions 0 Answers

Why does animation clobber my positioning code? 2 Answers

Animator controller 0 Answers

How to edit Avatar default posture? 0 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