embeddedt / RoadArchitect

BETA: Free, open-source automated road creation tool for Unity
MIT License
23 stars 2 forks source link

Intersections Problem #7

Open zivandar opened 5 years ago

zivandar commented 5 years ago

When creating an intersection, mesh networks are broken. When I combine the starting and ending points of the path, the line of the objects is broken. I am currently using the project.If you fix it, I'd appreciate it.

embeddedt commented 5 years ago

Could you please send some screenshots to show the problem?

zivandar commented 5 years ago

Of course I'm sending it right away.

zivandar commented 5 years ago

![Uploading Screenshot_5.png…]() Screenshot_1 Screenshot_2 Screenshot_3 Screenshot_4

That is the problem :( :(

embeddedt commented 5 years ago

So the first problem is not actually a problem, because that is how RoadArchitect works (it bends the invisible parts of the mesh underneath the road).

The second problem is not supposed to happen. Can you describe the steps necessary to reproduce that?

zivandar commented 5 years ago

First, create a path, then combine the start and end of the path, start adding an edge object to the paths, this error occurs.

embeddedt commented 5 years ago

combine the start and end of the path

What do you mean by this?

zivandar commented 5 years ago

Combine the first node with the last node.

embeddedt commented 5 years ago

You mean making a road loop?

zivandar commented 5 years ago

Yol döngüsü yapmak mı demek istiyorsun?

Yea, That's it. Screenshot_5

zivandar commented 5 years ago

Thanks for your interest.Does breaking invisible parts of the network down the road lead to an increase in the drawing call? How do I add edges and hyperlinks I create with Blender? I wish I could add a fence, but I couldn't.

embeddedt commented 5 years ago

How do I add edges and hyperlinks I create with Blender? I wish I could add a fence, but I couldn't.

I am not sure. At this point I am just trying to maintain the project for those still using it. There are probably better solutions out there.

Does breaking invisible parts of the network down the road lead to an increase in the drawing call?

In theory, yes, but there haven't been any performance issues thus far on desktop and mobile.

embeddedt commented 5 years ago

hyperlinks

Translator issue? I am not sure what you meant by this.

zivandar commented 5 years ago

köprüler

Tercüman sorunu? Bununla ne demek istediğini anlamadım.

Yea,My fault.I meant bridges.

zivandar commented 5 years ago

Screenshot_5

What's this problem caused?By the way,thanks again.

embeddedt commented 5 years ago

It's probably an issue relating to the way the edge object calculation is handled when the road loops. Ring roads were unsupported in the older RoadArchitect and still have issues in my version (as you have seen).

Unfortunately, I don't have time to investigate exactly why it happens at the moment. If @FritzsHero is willing to look, that would be great, otherwise I would suggest avoiding looping roads for now.

FritzsHero commented 5 years ago

Intersections have a lot of problems right now. There is also a bug, which creates a mesh from the Intersection to the origin of the RoadSystem, for whatever reason. This occurs when you connect 2 Roads together. I am currently working on small improvements, but I do have planned on improving the Intersections. Also roundabouts are something, which I have personally planned, but it is a lot of work to be done until we get there.