The title may be confusing but let me elaborate. First of all, I want to make it clear I’m not that advanced when it comes to using blueprints, but I have base knowledge and can understand code logic. I’m trying to make a bubble shooter game in ue5, so far I managed to make my arrow move left to right within a certain range, shoot bubbles from a designated place and made them stop when hitting the ceiling. Now I want to make them snap to one of 7 different Y values. I have the base concept, make a float array that contains the Y values and then determine where the bubble hits the ceiling. I managed to take the Y value of the ceiling but i cant wrap my head around on how to do the rest.
This is what i have done so far. At the end i take the bubble location to make sure it’s X and Z value stays the same. And from the wall (in which I forgot to do here) I take the Impact Point