playMaker

Author Topic: create object (add childs)  (Read 2034 times)

wheretheidivides

  • Sr. Member
  • ****
  • Posts: 496
create object (add childs)
« on: April 01, 2015, 06:38:19 PM »
So when you use the 'create object' action, you can store it as a game object by setting the 'store object' and then creating a variable to set it to.  Nice.

Now, what about the child objects?  There should be an array so you can set it to '3' and then be able to set 3 child objects.  Maybe there are 3 child objects that need to be addressed like a tank's turret, cannon and wheels.  This way, you could set the objects all at once.

4ppleseed

  • Full Member
  • ***
  • Posts: 226
Re: create object (add childs)
« Reply #1 on: April 02, 2015, 07:43:55 AM »
I think you can create the objects, save them as gameobject variables and then use Set Parent - this should get what you need?  8)

wheretheidivides

  • Sr. Member
  • ****
  • Posts: 496
Re: create object (add childs)
« Reply #2 on: April 02, 2015, 11:14:12 AM »
I'm not sure what you mean.