Are you looking at this in the new demo project or in your own project with v3.0.1 imported?
When selecting a marker of the river object, the scale gizmo will appear after selecting the scale tab (R key) in the toolbar just like when scale ordinary unity game objects. This is triggered on objects with shape type of side objects active, like the river side object.
hello again @raoul
I have a question: is not yet possible subdivide the road from left to right? to have the center more higher than the sides for example?
Here is a small editor script example for creating custom road shapes from code.
Please drop it in /Assets/EasyRoads3D/Editor/
It will add a new menu item at the top: EasyRoads3D > Custom road Shape
Run this after selecting a road object.
The shape is hardcoded and can be adapted to any shape.
As mentioned, this will turn the road shape in a custom roads shape which is not yet supported by the built-in crossing system. To have this work with crossings at this moment, you can create custom road shapes from imported crossing models.
The example indeed results in a mesh with smooth normals. For hard edges vertices need to be duplicated, the bool array controls the triangulation if that makes sense
This way you can for example also make a motorway with terrain in between. This part is currently primarily used for the custom prefab system which supports all this. But both built-in road types as custom road types use the same system so they integrate well together.
Hi,
i would ask about the integration between RAM and EasyRoad … the new version is labeled “EasyRoad Compatible” . .is that something bring more feature ? thanks a lot …
We are looking into this at the moment, screenshots will follow. The setup is simple. All that is necessary is dropping the R.A.M. water material in the material slot for the River Surface side object in the Side Object Manager: Terrain Tab > River Surface
The Target Object for the default river points to waterPrefab in the project folder. This slot can be kept empty. It is not required when using the R.A.M. materials.
Depending on the used shader the flow direction can be sideways. This is corrected by setting “UV V Direction(1) U Direction (0)” at the top in the material component to value 1.
Full integration of the R.A.M vertex color options and shader behaviour will follow. The river options wil also be further expanded with previous requests in this thread.
As a side note, the river bed shape can be adjusted in the Shape Editor Window of the respective side object. The upcoming additional terrain smoothing tools will also be useful here.
I got it … I am sorry, but I missunderstood . the guy published a road shot . so supposed was something related to road
So, in that case is just the material from his asset… We are following a new thread related to a really new amazing water systems with a new apporach for the shader … it looks like that asset is under asset store review . so it would be nice use even that other ones … Can i assume that every material can work with easyroad or only the one you mentioned ? I am thinking to the project we discussed as I would not push users to specific water asset . .as is not releated with the core of the project… . leaving early for the weekend … so will read your reply only next week … have a great weekend …
Yes, sorry, the road materials can be used as well. Any road material can be used with EasyRoads3D that is why I thought the question was more water related. But we are looking into that as well.
For water materials it depends on the setup. R.A.M. only uses a material, so it integrates well.
Hello! The answer to my question is probably in an image or something, but I have not been able to see it.
How are the intersections handled?
If I got a road going straight, and I want a road at 45 degrees, to connect to the straight one.
Like this (Not the best example, I know)
I
I
I \
And how is 90 degree turns handled?
All I have tested is the free version, and it didn’t handle a 90 degree turn all that good.
You mention the free version. What exactly is this related to? Crossings or 45 degree road turns? Iam asking this because I belief crossings are not yet supported in the free version.
For roads it is recommended to use the circular controler type for a smooth 45 degree turn.
The built-in crossing types do not yet support 45 degree angles.The T crossing is flexible but more over the straight section. What you probably want is a more Y type of crossing with flexible angles. This is being worked on. A prototype for the mesh generation is ready. It is currently being improved to support custom road shapes as discussed above. At the moment we can deliver generated meshes ready to import in the system. Last week we prepared a 6m wide Y connection for a user. Here is a 45 degree example