Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to create roadway camber or x-axis tilt? #11

Open
IcantThinkOfAnymoreNames opened this issue Dec 28, 2020 · 6 comments
Open

How to create roadway camber or x-axis tilt? #11

IcantThinkOfAnymoreNames opened this issue Dec 28, 2020 · 6 comments
Labels
enhancement New feature or request

Comments

@IcantThinkOfAnymoreNames

Is your feature request related to a problem? Please describe.
Roadways are created flat. You can create hills. How to make roadway tilt?

Describe the solution you'd like
I want to make a roadway that leans to the left as I drive along, and then back to flat, and then back to the right so my drink would spill out of its can.

Describe alternatives you've considered
I have tried 1.6. it does not tilt.

Additional context
I have read in a forum this asset can, or will be able to do this... how?

@FritzsHero
Copy link
Owner

This is unfortunately not implemented right now.
A temporary solution could be to create a road and select the "Save mesh option". After the road update you then can copy and move/rotate the meshes as you wish.
This is a feature the asset should support and it would be great if this would be implemented in the near future.
Do you have a link to that forum context?

Best Regards

Fritzs

@FritzsHero FritzsHero added the enhancement New feature or request label Dec 29, 2020
@IcantThinkOfAnymoreNames
Copy link
Author

Oh, not implemented, I was hoping due to the age of this posting that it was already there.

https://forum.unity.com/threads/road-architect-roads-intersections-and-bridges-for-unity-released.232335/#post-1546721

One of the reasons I chose this package is that it knows how to do so many thing I do not know anything about. I will try as you say, and let you know soon if it works.

Thanks for keeping this asset alive!

@IcantThinkOfAnymoreNames
Copy link
Author

I have tried your direction in post #2, in Road Architect 1.6 and 1.9 but could not create a cambered roadway.

In either version I create a terrain, create a road system, layout two nodes, lift one slightly to create a hill, it modifies the terrain. This is where only failure follows. I try to rotate the node, it displays the rotation on the rotator, i let go and Unity processes, but comes up with no change, a flat road remains. The rotation wheel says it is rotated. I go to roadway and hit update roadway, it processes but changes nothing. The road is still flat. Oh, yeah, not implemented... I see a "save group" on the Node 0. On RoadArchitectSystem1 i see a tick box "save mesh assets" with a big WARNING in red once ticked.. I then update all roads, the entire roadbed now rotates?! And then everything I try after that ends up with a flat road, the terrain never conforms to the camber, and the camber never stays.

What am I doing wrong?

@FritzsHero
Copy link
Owner

As far as I understood you rotated the nodes, that's wrong. The workaround is to only copy the GameObjects with the Meshes and rotate these generated meshes. However this can be really time consuming, if you need to modify your roads in this way each time you want to tweak small things. The Terrain will be unaffected if you rotate the meshes.
There are other Assets available if you depend on this function for rapid development.

@IcantThinkOfAnymoreNames
Copy link
Author

Okay thanks for the information. This road system is so nice to use, I will wait in hope for this enhancement. Thanks for keeping this project alive! And pre-Unity Hub accessible...

@jperezCurso
Copy link

Will this functionality be this year or so? or can't you give a date?
Greetings..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants