MarginallyClever / Robot-Overlord-App

Simulation and control software for robots
https://www.marginallyclever.com/
GNU General Public License v2.0
168 stars 49 forks source link

Chicken and Egg problem. #212

Closed i-make-robots closed 9 months ago

i-make-robots commented 9 months ago

Describe the bug

To make the pistons work t0.lookAt has to know about b0. Also b0.lookAt has to know about t0. On save it remembers the unique id of each node.
On load, LookAt nodes store the uniqueID of their subjects.
If NoePath is resolved on load then either t0.lookAt fails to find b0 or b0.lookAt fails to find t0.

Solution: If they stored relative path instead, the paths could be resolved at run time after loading in all the nodes.

Screenshots image