- Home /
Child/parent rotation problem
Hi all!
I have a problem with a child/parent relation.
This is the problem:
I have a vehicle (gameobject) and on it is another object (cube) which i made child by dropping it in the verhicle gameobject. I want the cube's rotation to match the rotation of the vehicle exacly. But now it looks like the cube is sort of balancing on the back of the verhicle. The verhicle is tilting a lot on the z axis.
Is there a way to make the cube match the exact rotations of the vehicle, and if so how?
Answer by Statement · Jan 30, 2012 at 03:24 PM
I want the cube's rotation to match the rotation of the vehicle exacly.
Just set the local rotation to zero on the child cube, if I understood you correctly. It will align with the vehicle, as long as the vehicle model oriented properly.
Thx for your suggestion.
I think you mean the local rotation under the Transform option? This is already set to zero.
Your answer
![](https://koobas.hobune.stream/wayback/20220613063542im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Make a simple tree 1 Answer
Child versus Parent rotations 3 Answers
Ignore parent Rotation 1 Answer
Rotating a parent object so that child is at the closest possible position to another object 1 Answer
force child rotation to zero? 2 Answers