Dynamic parenting and custom props for objects

  1. Can I do dynamic parenting. Like at some point parent some child to parent so it acts as one? (for ex. hand garbing ball)
  2. Can I like custom props to an object, like energy=“100”, then on run-time get those values?

You can add properties to any object, using Set Property and set them with On Init (at least in nodes). I am not sure the parenting (again with nodes) is working correctly. I tried a while ago but have not revisited lately.

1 Like
  1. I’m 99% sure that you can. I think you could do it just by setting an objects parent.
  2. Like @Monte_Drebenstedt said, you can set properties in nodes. Those same properties are accessible through haxe with an objects properties…um property. :wink: