1
\$\begingroup\$

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?

\$\endgroup\$
  • \$\begingroup\$ 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. :) \$\endgroup\$ – Sean Middleditch Aug 24 '12 at 23:52
6
\$\begingroup\$

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

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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