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
1
Question by Zyrac · Jun 11, 2014 at 12:30 PM · rigidbodyspritegravity2d animation

2D sprite animation causes problems with rigidbody

Hi, after much time and frustration, I finally managed to get my animation working on a 2D sprite. However, this seems to have affected the rigidbody component of the sprite. At first, the sprite seemed unaffected by gravity. I tried tweaking the mass and gravity scale in the rigidbody component and found that by increasing the numbers, the sprite was more affected by gravity but fell very slowly. I tried to search for the solution, without any success. Though I saw something that suggested something about adding the rigidbody to all elements of the animation, or something like that. But even if that is the solution, I don't know how to do it. Can anyone give me any help? Thanks.

Comment
Add comment · Show 1
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 MozenAhl · Oct 30, 2015 at 10:11 AM 0
Share

I also have that problem and i have unchecked the box but he is still where i left him in the animation. And my player's movement script doesnt work either, can someone please help me?

1 Reply

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

Answer by Zyrac · Jun 11, 2014 at 06:42 PM

Ok, in case anyone has a similar problem, I found the solution. You have to go to the Animator component on the animated sprite and uncheck the box that says "Apply root motion".

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 HeyNau · Sep 15, 2015 at 12:37 PM 0
Share

Zyrac! I love you!

I've been lost in this problem for a week! I thought it was about new Unity 5.2 change in rigidbody. I used null parents to solve this but it just brought more problems.

The problems was not on the rigidbody, it was the root motion of the sprite animation! Thank you!

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

23 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

Related Questions

Gravity on object not working correctly 1 Answer

I have a planetary gravity script; how do I make the object speed up? 1 Answer

Check if entire box collider has air below, instead of just a point on the box? 1 Answer

Where is the general Rigidbodies Drag? 3 Answers

Prefab Sphere floating away 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