Ah⌠I didnât realize you were generating all the neighbours at the start. I thought you were creating them as you clicked. Give me a second and Iâll try to see whatâs going wrong.
There are two issues. I know how to fix one of them. But the other one is in your original blueprints and we need to fix that first. Can you show me your line drawing blueprint?
The other issues is that in AddNeighboursByDistance, you need to add neighbours in both directions like I mentioned before. Otherwise, youâll end up with one way links because of the global array preventing the other direction from being added when you process the other node.
So you need to take the array element->Neighbours->Add and pass in Star (the function input).
Unfortunately, thereâs something wrong in how you draw lines because even in your original BP, the lines are not drawing correctly.
About the paint part, here is 2 parts, One is for display the lines of the active stars, and the other is for the hover state of the stars.
And about to add pairs how exactly do that?
Iâll take a look at what you provided later. I have errands to run right now.
As for how to add two way neighbours, just copy the ADD node at the end of your Add Neighbours by Distance function and swap the input stars.
I looked at your drawing graph and it looks fine to me. I have no idea why lines are disappearing. Now, when you use the Check Connection function, adding the two way neighbours will certainly help. But I have no clue why it wasnât working in your original BP.
For now, try adding the two way neighbours and see what that gives you. If it still doesnât work, Iâll try to create something on my end and test it myself.
One thing to be aware is that crossovers will be removed based on the sorted order of the nodes. So not all connections will show up on every node. However, in your original Blueprint, I would have expected every single node around it to be connected and that wasnât happening in the last animated image you posted with the original BP. Maybe you hadnât restored it completely? Dunno.
Just do the same
The disappearing just solve it yesterday i just remove the bad connection of the Return Node that i don´t know why i put in that way.
Ok, gonna try it myself. Will let you know.
Got it working. It was the line intersection function. Sorry about that.
- It was triggering line overlaps on endpoints some of the time based on rounding error. This is why lines were disappearing.
- I forgot to negate the second part.
Here is the fix. Just add the multiply node indicated by the arrow. And change the conditions to the valued indicated (0.01 and 0.99 instead of 0 and 1). You can see these nodes to the right of the arrow.
I did find one issue is if you have three nodes in a line that are near each other, the two outside nodes can connect because it goes THROUGH the middle node and the line intersection wonât catch it.
Youâll have to figure that one out on your own. Maybe add another check for lines that go completely through other nodes.
Ok maybe my problem is other now, i just add at the end but wich stars? becouse i try some and just get one connections
OHHH so the check Connection func is in the star? Not starmap ok ok
@AlienRenders works like charm now. Thanks alot for your time!!!
Check Connection function can be anywhere you like. I just had it in the Star and was easier to just leave it there.
Glad it works!
edit: Pick a comment for a solution to close the thread.
edit2: Looks like it may be a discussion thread so not answer is possible.