If anything but the lowest child, has a non even scale, so, not 1,1,1 but 3,2,1, the child oft hat object,and any child with in, will be deformed. Make sure all are set to 1,1,1.
The scales are not 1,1,1 or they are? Cant figure out if that was a typo… if they are not uniform, the odd behaviour you are seeing is probably scale related… looking at the picture, it certainly seems that way.
ummm.
the usual again James, really?
You don’t think that perhaps, he has to colliders, non triggers on each, that is causing the “break away” as he describes it?
I set them changed the scale and still experienced the same problem.
As stated the problem only exist when I make the sphere and cube children of the plane.
Also when I disable the colliders the same problem exist.
It only rotates properly when I don’t make the sphere and the cube children of the plane. That is the only thing that fixes it.
I do need them to be children of the plane though.
If the plane you are trying to parent them to is not scale 1,1,1 you are going to have this problem.
An easy solution if you need to just have the appearance of it being a child, is create an empty gameobject, make it the parent of your plane, and the parent of your sphere setup.
Treat the gameobject as the object you want to control. This way your planes and spheres can have whatever scale you want, as long as the root stays at 1,1,1
If you end up filming it, make sure to use a few tabs of the project scene with different angles, so we can see it from different perspectives.
Thanks, hopefully it doesn’t get to that tho and you solve it!!!
if you have an object with a child, both at scale 1,1,1
then no worries, everything remains in proportion.
if you have the parent then become scale 1,2,1
then the child, while locally, still has scale 1,1,1,
in itself is effected by its parnets scale, and appearss as scale 1,2,1
just as if you have a child and parent at position 0,0,0
if you move the parent to 30,0,0, the child while locally is still at 0,0,0,
appears to be at 30,0,0.
When you make your sphere a child of the parent, you will notice that the scale of the sphere changes to make it appear as 1,1,1.
In my test, the new scale became something like 1, 0.5, 0.33 (when the parent had a scale of 1,2,3).
If you can avoid changing the scale, definitely do, as it also scales the physics calculations, which can lead to some interesting (undesirable) results.