TheDuckCow / godot-road-generator

A godot plugin for creating 3D highways and streets.
MIT License
316 stars 16 forks source link

Unable to set the road network as the root node #61

Closed TheDuckCow closed 1 year ago

TheDuckCow commented 1 year ago

When adding nodes via code, need to set the parent/owner code. There is code trying to fetch the parent of the network, which doesn't exist. We should be able to have the road network as its own root level node.

Steps to reproduce:

  1. Create new scene
  2. In the menu for setting root node, select other
  3. Select roadnetwork as the root
  4. Then add 2x2 road or any sub road

At this stage, you should find the roads are not being generated.