Displaying a 'height bar'
jonmulcahy
Member, Sous Chef Posts: 10,408
So,in my game I'd like to have a bar that floats right above the tallest obeject, and as things fall, it comes down. I'm adding logic to check to make sure that bar falls below the goal in order to complete the level. But my implementation leaves much to be desired. I just created an actor that rests on the tallest actor, and it does fall, but it also effects the blast and bounce ability of the small building parts, and sometimes bounces as it falls
Is there a way to do this with values? I know how i can roughly make the line go up with objects, but I'm not sure how to make it fall back down with the tallest object
There is a blast demo out there that uses a yellow line to display the max height an object reaches, but in that demo it only goes up.
I hope im clear enough
Is there a way to do this with values? I know how i can roughly make the line go up with objects, but I'm not sure how to make it fall back down with the tallest object
There is a blast demo out there that uses a yellow line to display the max height an object reaches, but in that demo it only goes up.
I hope im clear enough
Comments
Thanks,
Mark W