ETA : so i found a workaround, instead of hiding or setting visibile according to the filtred cubes, I just compared with the filters themeselves just like for the cubes.
Hey I’m beginner to intermidiate in BPs UE5 and been trying to learn this on personal projects needs.Filtering appartments. I would appreciate your help .
My filtering system works on geometry , meaning I do set my needs in sliders(budget,surface,rooms and bathroom numbers) the highlighted box shows me the corresponding appartments.
Also the scrollbox is populated with dynamic buttons that will change depending on what I put in the level of appartements(I construced them following a struct + datatable) so buttons are binded to appartements, if I click on one it compares their data and goes to location of that appartement.
NOW here’s my problem, I want to show/hide (or add / children remove them) from that scrollbox depending if the appartement is show (meaning the hightlighted boxs) around it as you see here.
BTW in this example it looks like it works but it’s only because I started the play and tried the first filter, if I ever change the filter again it goes messy , like showing the new appartement button + old one (which is supposedly hidden) or shows others button that don’t correspond.
so here are the bugs , in the case below it keeps showing the old filter result button + adds the new one (tried clearing at the end , at the start I don’t get what I’m doing wrong)
Another case : it shows only one of the two appartments buttons to show.
and it goes on weird and weird so here are my blueprints (post my filtering for geomertry since it’s correct I didn’t screenshot it)
As you can see after filtering (it show the visibility of the highlight) then I store the element from the loop into an array, loop through that array to exectue a function that "hide/ show children of scrollbox, I tried with "add children / remove it went messy, so I used visibility instead
here’s the function :
in this function I’m trying to compare if the appart name of the button == the appart name of the filtred geo(the ones with highlighted on) , if it’s let the button VISIBLE, if not COLLAPSE IT.
but it’s half working, also this is the mode of search where you can pick only one choice of number of bedroom (you either check 1,2 or 3) I have a free mode where you can check all, I can’t imagine how it would be in that mode LOL xD
If you need any other screenshots tell me