Hi I’m looking for a respawn of the dynamic tree that is that if there is a structure near the respawn of the tree should not grow back.
how can I do?
if someone can explain it to me gently I would be grateful.
Hi I’m looking for a respawn of the dynamic tree that is that if there is a structure near the respawn of the tree should not grow back.
how can I do?
if someone can explain it to me gently I would be grateful.
So, you have trees in your level, and you want to cut them off… But you want to grow up back only trees which are not near some building? Easy.
I have in idea 2 ways. But imo easier one:
Place collision box/sphere to your tree BP. If that volume is overlapped by building -> get overlapping actors -> foreachloop -> branch -> compare overlapped actor if it isnt building -> if there is building -> dont respawn tree -> if isnt, respawn.
I feel ok thanks a lot