Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

I was wondering if any scene graph-like mechanism is implemented into Unity3D? For example if I have a GameObject, can I add child cubes to it so when I rotate the parent GameObject, the siblings will rotate too?

share|improve this question
    
Note only does it exist, it is fundamental to the way Unity works. You'll be hard pressed to build anyrhing usable that doesn't have a fairly intricate scene graph in Unity. :) –  Sean Middleditch Aug 24 '12 at 23:52
add comment

1 Answer

up vote 6 down vote accepted

Yes, Transform component has Parent Transform. http://docs.unity3d.com/Documentation/ScriptReference/Transform-parent.html

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.