- Home /
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?
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.
Although, I would point out I have no idea why, nor any proof that this is the correct interpretation
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!
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