I’m creating a skill tree for my game. have skill tree widget class and node class. Tree widget has many node widgets.
(tree’s hierarchy):
I know how to check if player is able to buy particular node, I know how to pan the whole tree area and all that stuff.
I want the skill tree to look pretty much like tree from Path of Exile (demo here: Passive Skill Tree - Path of Exile). What I’m missing are connectors between nodes. I would need to create some widgets representing connections in tree’s pre-construct event (I want to have a preview of tree while designing it). Those connectors need to be placed in such positions that both ends are under correct nodes and will light up on one or both ends (depending on which node(s)) are active. The nodes know their neighbors.
I’m pretty sure it’s really simple, but I have no idea how to place the widgets on specific position on canvas.
I’m ok with using either c++ or blueprints.