jcjgraf / RandomInfinityRoad

Random infinitely long road generator for Unity3D
MIT License
7 stars 0 forks source link

Boundary for road #1

Open JackChilds opened 4 years ago

JackChilds commented 4 years ago

Hi,

I have just downloaded your project and love it, however, I would like the road to stay within a boundary (physical or a set of coordinates) but don't know how I could go about doing this, with the collision detection that is in the program at the minute it doesn't deal with scenarios of colliding with other objects except the road parts. Would it be possible for you to update the project with some kind of script that detects boundaries and keeps the road within them?

Thanks

jcjgraf commented 4 years ago

Hey, I am glad that this little project is useful to you! :blush: I guess to add what you asked for should not be that hard. However, I do not have Unity installed anymore since this was just a sideproject of mine. I have to see if I got time in the following days to have a look at it.