playMaker

Author Topic: Get Random Child with ( startWithName ) , ( fullTraverse) parameter  (Read 4861 times)

aliessmael

  • Playmaker Newbie
  • *
  • Posts: 26

Right now there is Get Random Child.

But it is better to add tow parameters to it
startWithName
fullTraverse

the reason is because i have character exported from 3ds max with mount dummies
so i can mount some object to it
dummies are children of bones , it is not direct children of character
and i need to select the one which start with "mount-" name.

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 4005
  • Official Playmaker Support
    • LinkedIn
Re: Get Random Child with ( startWithName ) , ( fullTraverse) parameter
« Reply #1 on: February 12, 2012, 07:57:21 AM »
What does fullTraverse do?

aliessmael

  • Playmaker Newbie
  • *
  • Posts: 26
Re: Get Random Child with ( startWithName ) , ( fullTraverse) parameter
« Reply #2 on: February 12, 2012, 10:36:09 AM »
fullTraverse means search in all children tree, not only first children layer.
it means it could be child of child of the gameObject passed to the action.