HOW TO MAKE A RANDOM 3D BONUS WHEEL - MINI UNITY TUTORIAL

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 ธ.ค. 2024

ความคิดเห็น • 17

  • @maltedwheaties3339
    @maltedwheaties3339 4 ปีที่แล้ว +3

    Quick tip: if your spinner seems "jolty" or not as smooth as you would like it, instead of using Update(), use FixedUpdate(), to make the spinner framerate-independent. Using Update() would mean if you had a faster computer, and therefore a higher framerate, more transform.Rotate calculations would be made, meaning the spinner would spin more (assuming the same random numbers), possibly putting some players at a competitive advantage (though in this application probably not). The jolting is caused by spikes and drops in your framerate, meaning while one second may have 500 calculations (ie the fps is 500), the next second there could be 800, for example, meaning that second the spinner would spin faster than anticipated for a second, even though it is meant to be slowing down.

  • @vinyeaglevr6833
    @vinyeaglevr6833 4 ปีที่แล้ว +1

    Awesome tutorial! I learned a lot, I may end up using this in my current project. Thank you!

  • @flying.volcano.studio7727
    @flying.volcano.studio7727 3 ปีที่แล้ว

    Jimmy Thanks man. you rock.

  • @FlynnsForge
    @FlynnsForge 4 ปีที่แล้ว +1

    great tutorial!

  • @lakitop2
    @lakitop2 4 ปีที่แล้ว

    Great tutorial, keep it up!!!

  • @gogozgallardo8839
    @gogozgallardo8839 2 ปีที่แล้ว

    thank u bro

  • @damdakos
    @damdakos 4 ปีที่แล้ว

    hi, nice vid. Thanks. How would you detect the different colour? Are you going to make another short tutorial on that? Thanks.

    • @JimmyVegasUnity
      @JimmyVegasUnity  4 ปีที่แล้ว +1

      that’s a good question. basically you have trigger objects on each section with a tag, and then whichever one the pointer is inside it detects the tag and runs the code :)

    • @StigDesign
      @StigDesign 4 ปีที่แล้ว

      @@killereks oh cool :D

    • @StigDesign
      @StigDesign 4 ปีที่แล้ว

      @@killereks oh, you think of the arrow that points on the color area`s? i think the 0 degree start maby shud be in middle of color area and then devide it with int number but also use int in random.range to make it more likly to only stop inside a color area :)

    • @StigDesign
      @StigDesign 4 ปีที่แล้ว

      @@killereks btw do you know how to type that in unity c# the (angle.z%360)/8(8 color area`s) Thank you in advance if you know and/or can help me :D

    • @StigDesign
      @StigDesign 4 ปีที่แล้ว

      @@killereks cool :D Thank you so much :)
      i will try it later when i get up :)

  • @petterracing
    @petterracing 4 ปีที่แล้ว

    Why not a video on the race positions with 3 or more cars?

  • @StigDesign
    @StigDesign 4 ปีที่แล้ว

    Nice :D

  • @Jadon00
    @Jadon00 3 ปีที่แล้ว

    how do you make material?

  • @xus9380
    @xus9380 4 ปีที่แล้ว

    Can you do it with betting button and winning coins

    • @JimmyVegasUnity
      @JimmyVegasUnity  4 ปีที่แล้ว

      yep. a little extra code and it’ll work