I am trying to make "waterfalls" that start at an origin point and stretch down until they're in collision with a solid object.
My game is going to have several different objects capable of blocking the waterfalls, so I put them in a family called "shelter" and have the waterfall measure the distance between its origin and "shelter" objects and change height to be that distance.
The problem is the waterfall is only recognizing some of the shelter objects and flowing through some of the other ones. I feel like I'm just missing something obvious, can someone help me out?
(Also, am I going to regret how this is set-up, performance wise? Will my performance get screwed up with all these distance measurements and collision checks?)