playMaker

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

aliessmael

  • Playmaker Newbie
  • *
  • Posts: 28
    • View Profile

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: 3201
  • Official Playmaker Support
    • View Profile
    • LinkedIn
Re: Get Random Child with ( startWithName ) , ( fullTraverse) parameter
« Reply #1 on: February 12, 2012, 05:57:21 AM »
What does fullTraverse do?

aliessmael

  • Playmaker Newbie
  • *
  • Posts: 28
    • View Profile
Re: Get Random Child with ( startWithName ) , ( fullTraverse) parameter
« Reply #2 on: February 12, 2012, 08: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.