- Home /
Parenting messes with my rotated cylinders
I was going through "Video Tutorial 4: Parenting" when my cylinders were severely distorted when I parented them to the box, after some trial and error I found that this happened because the cylinders were rotated, they flattened and became oval-shaped. Is there a way to stop this from happening?
Answer by duck · Mar 12, 2010 at 12:23 PM
This is probably because your box has a non-uniform scale (meaning: a scale where the x, y & z values aren't all the same).
Your cylinder is being stretched along these axes in the proportions described by the box's scale. In general, non-uniform scaling with parent-child relationships tend to give undesirable results.
Thank you for your help. After some more trial and error in light of your response I have found that this problem does not occur with a uniform scaled box, however i also found that, in the above example at least, it also only occurs when the cylinder is rotated to anything but "straight" meaning 0, 90 or 180. I also found that you can parent the cylinder and then rotate them without the deformation occuring, however they will deform if you rotate several times and then use Ctrl+Z to undo into a previous rotation.
Your answer
Follow this Question
Related Questions
Prefab changing dimensions when parent changed 1 Answer
Issues Rotating an object 0 Answers
How can I change rotation of parent independently without affecting angles and rotation of child ?? 2 Answers
Setting rotation of child GameObject 1 Answer
Keep Rotation on one Axis but aligning others to Parent 0 Answers