• 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 Andy W · Aug 07, 2013 at 05:54 PM · rigidbodyscaleparent

You should never scale the parent of a rigidbody

The documentation states that "You should never scale the parent of a rigidbody". But what exactly does this mean? If an object has a rigid body attached, is the object considered its parent?

In other words, if I create a sphere and attach a rigid body to it, am I allowed to scale the sphere, or am I only allowed to have a sphere with a scale of 1? It seems like that would be quite limiting.

Also, why is scaling the parent of a rigid body disallowed?

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 eskivor · Feb 27, 2018 at 10:30 AM 0
Share

link is dead

3 Replies

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

Answer by perchik · Aug 07, 2013 at 06:11 PM

My understanding of that statement is the parent of the actual object that has the rigidbody

In this picture, I think you can scale Object, but not Cube.

alt text

Although, I would point out I have no idea why, nor any proof that this is the correct interpretation


capture.png (13.8 kB)
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 Andy W · Aug 07, 2013 at 06:32 PM 0
Share

This makes a lot of sense. Sorry I can't upvote yet.

avatar image
1

Answer by SmartCarrion · Aug 07, 2013 at 06:07 PM

I'm guessing because it would change the physics in unpredictable ways, but i'm really interested to hear other people's reason too. My example is that if you had an object instantly 'grow', and that caused it to collide with something else, how much force would the rigidbody impart? the answer could be "infinite", so you wouldn't want that!

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
1

Answer by Eluem · Mar 18, 2016 at 04:11 AM

While testing scaling an object that I have (to create a 2d visual effect, since I made a mistake and didn't create a container under my parent object to hold all my child objects to allow scaling them separately), it seems to cause the physics to freeze during frames that you're scaling the object.. and it definitely causes strange collision issues.

Not exactly sure how I should handle solving this issue, actually... lol

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.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

18 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

Related Questions

How to Prevent Child Deformation on Rotate? 1 Answer

Disable all child rigidbodies 1 Answer

Translate/Scale parent/child issues 1 Answer

Control character without CharacterController or 1 Answer

How to avoid scaling heritage when parenting. 3 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