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 /
This question was closed Jun 18, 2015 at 08:23 AM by Deadcow_ for the following reason:

Question is off-topic or not relevant

avatar image
0
Question by Deadcow_ · Jun 17, 2015 at 02:02 PM · rigidbodyrigidbody2dphysics2d

Move Rigidbody2d along with parent object

May be I had broke something in my project, maybe some physic logic was changed, but since Unity 5.1 when I set Rigidbody2d (Player) as a child of some platform with BoxCollider (floor) and then platform moves, Rigidbody is stay on the spot and eventually slides over platform instead of staying on the floor and movind along with it.

so, my "platform" collider

alt text

and my player rigidbody

alt text

I assume the only thing changed since last time it worked properly is this new Constraints on rigidbody, but I don't think it may cause the problem.

I'll be really happy if you'll help me. I need to fix this fast but already spend a day trying to locate the problem

2015-06-17-16-56-14-скриншот-экрана.png (11.3 kB)
2015-06-17-16-57-00-скриншот-экрана.png (23.2 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

  • Sort: 
avatar image
0

Answer by RLin · Jun 17, 2015 at 02:08 PM

Child objects cannot have non-kinematic rigidbodies. You must mark the player as isKinematic while it is a child of something else.

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 Deadcow_ · Jun 17, 2015 at 02:14 PM 0
Share

Yeah, I tried to. Well, I paused the game when rigidbody become a child and manually set it to cinematic through inspector. No visible changes. And it certainly worked right way a few days ago... damn :(

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

Inconsistent gravity/random forces/solver problem? (forum crosspost) 0 Answers

Unity 2D Physics .AddForce 1 Answer

Child GameObject can't use MovePosition on parent's Rigidbody2D? 3 Answers

increasing knockback of a rigidbody as received damage increases (like super smash) 1 Answer

Stack of RigidBody2D, Freeze X and Z, Odd Behavior 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