|
I'd like to move a stack of gameobjects - like a pile of bricks - intuitively and quickly in code. I've already got the pile of gameobjects in the world and would ideally like to transfer them around whilst staying piled together as they currently are. I'm wondering if perhaps i could do the following
It all sounds relatively straight forward, i guess the crux is
Cheers
(comments are locked)
|
|
you can do this easily. you just need to set the transform.parent of each block to your parent gameobject and then set it back to null. there is no need to space transformations. go ahead and use great easy to use powerful unity! cheers.. So long as the carrying gameobject was positioned where i wanted it relative to the future children then yes it was very straightforward.. Joy! :)
Dec 30 '09 at 12:34 AM
jimbobuk
(comments are locked)
|
