FPS controller tutorial in Unity | Part 01

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

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

  • @ashdev
    @ashdev  Месяц назад +2

    We updated some code logic while recording, so you may notice old code in the background at some moments (due to video editing mistake). We apologize for any confusion-please focus on the code currently being written, as that’s the correct version to follow, and ignore the code in background.
    Here's the correct script: drive.google.com/file/d/1YIflqDCJOAAKoM6nNkRfVlY5jGG9gff1/view?usp=drive_link

  • @piyushguptaji402
    @piyushguptaji402 4 месяца назад +4

    i love these kind of videos bro. keep em coming 🙏💗

  • @tadoriaselan3268
    @tadoriaselan3268 4 месяца назад +3

    Don't forget to add the Turn(); to your movement function. Additionally it seems that the movement is separate from the camera orientation which is fairly unwieldy

    • @themixedcorner
      @themixedcorner 3 месяца назад

      and how do i do that? because my character can walk in any direction but cannot rotate at all, always facing north, how do i fix that

    • @balee9601
      @balee9601 3 месяца назад +1

      @@themixedcorner bro i found the solution, you can jump to 7:14 and check line 85

    • @ashdev
      @ashdev  2 месяца назад

      Thanks for helping everyone, we forgot to mention that.

  • @tharunsai2543
    @tharunsai2543 4 месяца назад +3

    dont stop doing bro , ur channel is very underrated , it will exploded in community bro , ur covering some imp concept , try advance concept also that other channel are lacking , iam a college student if i earn money i will definetly support u bro ..

  • @lv1342
    @lv1342 3 месяца назад +1

    Why does the turn function change through the video at 8:25 its completely different

    • @ashdev
      @ashdev  Месяц назад

      We applogize for confusion, please see the pinned comment

  • @v4t3rnom
    @v4t3rnom 4 месяца назад +1

    W creator and thanks for this awesome tutorials

  • @thietduy
    @thietduy 3 месяца назад +1

    bro I SUPER-LOVE your tutorials, please make the best FPS on YB, I am searching lots of FPS, but not much productive structure wise, or productive code wise, and most at beginning level ;)

  • @AshtyAnimations
    @AshtyAnimations 4 месяца назад

    Cant wait for this! series! Thanks

  • @Khoura
    @Khoura 4 месяца назад

    can't wait for this series

  • @foxcoding
    @foxcoding 4 месяца назад +1

    Great tutorial I'm sure it's gonna be great series, PLEASE Can you make mobile friendly as well

  • @RajVeerKar-y5y
    @RajVeerKar-y5y 22 дня назад

    hey why is my camera code never work also i copy others code no error but never work 😔😔😢😢. pls somebody help me at that problem.

  • @balsamicVolcano
    @balsamicVolcano 3 месяца назад

    when creating the camera portion, i tried to reference it but in unity it told me that it could not be found. I made sure that i spelled it right, however there still shows an error

  • @mattg1345
    @mattg1345 2 месяца назад

    Why did you choose not to use the new input system?

    • @ashdev
      @ashdev  2 месяца назад

      Because explaining 2 things simultaneously could make it confusing, that's why we chose to go with one thing at a time. We'll make seperate video on new inputs system soon.

  • @frenzysplash9405
    @frenzysplash9405 22 дня назад

    yo bro does your code work on unity 6

  • @dustylongo
    @dustylongo Месяц назад

    hey, would you be able to join a team right now ? we are looking for similar source based movement for our game , id like to show you the details

  • @pirateninjagamer1684
    @pirateninjagamer1684 4 месяца назад

    If I write a (Debug.Log) am I supposed to delete it later???

    • @ashdev
      @ashdev  4 месяца назад

      If it's not necessary anymore you should remove it, but it's not necessary, won't cause any issues or anything of you won't remove it.

    • @pirateninjagamer1684
      @pirateninjagamer1684 4 месяца назад

      @@ashdev I was wondering if it was doing something to warm up my computer, I’ll try deleting it.
      Thanks 😊

  • @piyushguptaji402
    @piyushguptaji402 4 месяца назад

    Hey bro, can you make a video on events ? They are a essential part of gamedev and i just can't understand it. 🙏

  • @neerajramnj7598
    @neerajramnj7598 4 месяца назад

    can u make a video on Unity's New Input System ....!

    • @ashdev
      @ashdev  4 месяца назад +1

      We'll consider making one in future

  • @prettyflood
    @prettyflood 3 месяца назад

    Out Of Action thumbnail spotted 👀

  • @tahsenhossain8948
    @tahsenhossain8948 2 месяца назад

    My footsteps work for the first step but suddenly start getting quieter for all the other steps. Did anyone else have this problem? If you did, how'd you solve it?

  • @residentsicko
    @residentsicko 3 месяца назад

    So maybe I'm being dumb but using Unity 6 I cannot find virtual camera anywhere in any menu.

    • @ashdev
      @ashdev  3 месяца назад

      @@residentsicko if you are using cinemachine v 3 then things have been changed. Its i think just cinemachine camera now. And you will have to add more modules to it.

  • @KobyMoon
    @KobyMoon 2 месяца назад +1

    There are so many moments in this tutorial where the code changes randomly with no explanation.

    • @a1534-d7k
      @a1534-d7k Месяц назад

      yeah it was throwing me off really bad

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

      We applogize for the confusion, please see the pinned comment

    • @a1534-d7k
      @a1534-d7k Месяц назад

      @@ashdev thanks for the clarification

  • @themixedcorner
    @themixedcorner 3 месяца назад

    my character is walking but cant turn???

    • @ashdev
      @ashdev  3 месяца назад

      Apologies for the issue we mistakenly didn't mentioned to put the Turn() function in the movement function.

    • @themixedcorner
      @themixedcorner 3 месяца назад

      @@ashdev how do i do that? (I am a complete novice at coding)

    • @ashdev
      @ashdev  3 месяца назад

      @themixedcorner just like you called ground movement function in the movement function

  • @balsamicVolcano
    @balsamicVolcano 3 месяца назад

    good tutorial except some parts of code randomly changed in between sections

    • @ashdev
      @ashdev  Месяц назад

      We applogize for the confusion, please see the pinned comment

  • @kostariev_vadim
    @kostariev_vadim 4 месяца назад +1

    You have great videos where everything is quite clear, but isn't it time to start making videos where it will be in S.O.L.I.D. paradigm, and not to make GodObject?

    • @ashdev
      @ashdev  4 месяца назад +1

      We'll surely cover advance stuff about optimization and structures but in seperate videos, these videos are beginner friendly and more focused on the basic concepts.

  • @Velociration
    @Velociration Месяц назад

    starts off fine but the code changing between cuts is inexcusable and makes this tutorial functionally useless

    • @ashdev
      @ashdev  Месяц назад

      We applogize for the confusion, please see the pinned comment