- Home /
Question by
user-4347 (google) · Sep 10, 2010 at 01:12 AM ·
gameobjectpositionparentlocalpositionempty
How I can make the position of an object equal when you add another object?
Im doing that an empty gameObject that is empty. The localPosition.y = 0 but when I add a gameObject inside of the empty I check in the scene and is not in the same position and then I check the empty and the localPosition.y = 0 and I dont know the reason of why these happens.
Please,some one explain me why and a way to solve it. Please help me.
Comment
Answer by Rafael · Sep 10, 2010 at 02:26 AM
Did you check the Z for both objects? If they are not the same change it to whatever the parent is.
Your answer
Follow this Question
Related Questions
Updating localPosition(?) in a scaled transform parent 1 Answer
Adjusting localPosition 1 Answer
Find position of the GameObject this script is attached to. 2 Answers
Scale gameobject around vector 0 Answers
Set child position and move parents with 2 Answers