Random content - How to make a Endless Driving Game in Unity Tutorial EP4

Поделиться
HTML-код
  • Опубликовано: 21 сен 2024

Комментарии • 8

  • @Gomisan
    @Gomisan 6 месяцев назад

    I think this had the least to offer so far. Its a bit more advanced, but I ended up making a script to place a random assortment of objects from an array within a defined area. This meant I could place an empty parent, attach my script and place any number of objects, such as a forest, or a line of trees. if I wanted just 1 random object like yours, then just 1 object in the array and 1 object to place. If I want a house that can be variable, multiple houses in the array, but only placing one. Adds a lot more utility. Anyway, enjoying following along, looking forward to crashing, shooting and sound!!

    • @PrettyFlyGames
      @PrettyFlyGames  6 месяцев назад

      Thanks for the feedback! I did something similar in Pixel Driver where I use box colliders to populate which area a certain object should use, it also does some overlapped checks to ensure that it doesn't overlap :)
      We'll see if you find the next episode more useful ruclips.net/video/sBbganR5hqM/видео.htmlsi=TSTSSOU0jQe5YUoK and after that it is crashing time for sure :D

  • @несмотринаменятак
    @несмотринаменятак 2 месяца назад

    Hello! While the car is moving, horizontal transparent lines sometimes appear on the plane. What could be the problem?

    • @PrettyFlyGames
      @PrettyFlyGames  Месяц назад +1

      Could be due to how light hits the edge of your road pieces or a tiny gap in the road. You can try to extend the road a bit in the Y direction and see if that improves things.

  • @Youtubesongs12
    @Youtubesongs12 6 месяцев назад +1

    For Android??

    • @PrettyFlyGames
      @PrettyFlyGames  6 месяцев назад +1

      It would work great on Android. Just add some touch controls and build for Android and your done ✅