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 Afonso-Lage · Dec 15, 2013 at 01:05 AM · 2dspriterigidbody2d

Rigidbody2D not falling anymore

Hello dudes, i'm learning Unity3D 4.3 2D tools, and i'm creating a basic plataform game. The problem is, dont know why, the Rigidbody2D stopped to fall when I apply gravity on it. Also, addForce doesnt work anymore...Dont know if I broke something or if this is a bug (I think isnt).

Here is a screen shot from object with this problem: http://img809.imageshack.us/img809/7580/0exi.png.

I've tryied to set Gravity and Mass to 10k, but no changes at all.

Thanks!

Comment
Add comment · Show 3
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 ziv03 · Dec 15, 2013 at 01:34 AM 0
Share

try to change animate physics in the animator to true.

avatar image Afonso-Lage · Dec 15, 2013 at 09:18 AM 0
Share

This didnt solved my problem, but gave me a hint to find where the problem was. I solved my own question. Thanks for helping.

avatar image ziv03 · Dec 15, 2013 at 03:27 PM 0
Share

glad to help:) I had that problem too before (changing the position of the gameobject in animation

4 Replies

· Add your reply
  • Sort: 
avatar image
4

Answer by Afonso-Lage · Dec 15, 2013 at 09:26 AM

I found the problem, it was related with a animation with change the transform position of my gameobject. After removing this animation, the Rigidbody2D started to respond physics moviments.

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 maxjonsson · Aug 21, 2015 at 06:03 AM 0
Share

This solved the problem for me too. Thank you!

avatar image Madafuka69 · Oct 12, 2015 at 12:03 AM 0
Share

Im sorry but can u give me an example of removing the animation that changes your transform position?

avatar image
0

Answer by soyalexman · May 09, 2014 at 11:27 PM

You can also disable the "apply root motion" on the Animation component.

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 Simen · Jun 29, 2014 at 06:04 PM

WARNING!! Okey .. so there is few thinks which you should be aware of:

  1. Turn off "Apply Root Motion"

  2. Place your character transformation on same transformation in animation

  3. "NEW" (i figure it out today): even if you have same transformations .. you need to erase your Main GameObject transformation from animation

For Ex: I have Object called Hero -> Hero had same transformation as in animation i was working on -> i was not able to done it -> i watch into animation and keys of animations in left row i had positions and transformations of child objects (hands legs etc..) -> i had here also transformations of object Hero -> i deleted it -> WORKING!! finally ....

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 dangalg · Oct 16, 2014 at 12:55 PM

just don't change the main transform. Instead change the transform for the body part you wish to move

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

22 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

Related Questions

2D character movement is jittery (top-down) 1 Answer

How can I stop my endless runners background sprites from falling out of sync? 1 Answer

Unity 2D gravity 1 Answer

One-way physics reaction : Objects reacting with physics to player without player being affected 2 Answers

Is it possible to make 2D Sprites in Unity,Is it possible to make 2D Sprites in Unity or is Blender more suitable? 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