i am working on pathfinding in bsp model
to get it done i need to assign portals to leaves however nor nodes or
leaves does not contain such information :(

BSPNode class contains method "generateportals" however i don't
understand how it works :/
1) why i should pass root node and what is root node
2) if i do something like this tree.rootnode.generateportals(????
tree.rootnode) i always get exception

_negativeNode=null
splits = _negativeNode.splitPortalByChildren(splits[1], side);

does anyone know how to do it right?

Reply via email to