playMaker

Author Topic: How to find a child that has lots of parents!!!  (Read 767 times)

Silicon Power

  • Full Member
  • ***
  • Posts: 186
How to find a child that has lots of parents!!!
« on: April 11, 2020, 05:03:52 AM »
Hey guys. I need to find a GameObject that is child of a biped's foot so they is lots of parent above that child. How can I find that child with name? Because Find Child action doesn't work. 

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: How to find a child that has lots of parents!!!
« Reply #1 on: April 12, 2020, 02:56:47 AM »
Hi.
Find by name/tag. (not performance friendly)

or if you can make a fsm on top parent, then set variables there and drag to parts in that you need to be able to get.

Then you can use 'Get Fsm Game Object' on the parent with the variables.