Making a character controller using animations ONLY! || Unity tutorial

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

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

  • @GR4MPI
    @GR4MPI Год назад +2

    i just want to say that you made my day, and im looking forward to comming home and doing all of this !

    • @gDevSimplified
      @gDevSimplified  Год назад +1

      Really happy to read comments like this❤️,
      Made my day too🙂

  • @victor.novorski
    @victor.novorski Год назад

    It took me 2 days to figure this out thanks bro

    • @gDevSimplified
      @gDevSimplified  Год назад +1

      Glad that i was of help,thanks for all the support❤️

  • @brutalgamer1507
    @brutalgamer1507 2 года назад +1

    Nice keep it up

    • @gDevSimplified
      @gDevSimplified  2 года назад +1

      Thanks, really appreciate your support ❤️

  • @david3atista
    @david3atista 2 года назад

    alright cool, now I want to make my character run if walking forwards and pressing leftshift. how can I make it happen?

    • @gDevSimplified
      @gDevSimplified  2 года назад

      There is a predefined function for left shift in other processes so you can't use left shift using input system,you can use any other key.
      To use left shift you need to use the unity's modern input system.
      And for running put another animation of running with root motion turned on in the animation graph, add a transition with a bool or float condition.
      Turn that condition true when player presses a particular key and false when it is not presses.
      That's it.
      Ask me if you didn't understand and thanks for your support❤️

    • @FlazennPlayz
      @FlazennPlayz Год назад

      @@gDevSimplified What is the code to tell that it is not pressed

    • @gDevSimplified
      @gDevSimplified  Год назад

      @@FlazennPlayz if(!Input.GetKey(KeyCode.-------))
      {
      Your code
      }
      Fill in the ---- with whatever key you want to check

  • @brutalgamer1507
    @brutalgamer1507 2 года назад +1

    Bro can you add sword melee system

  • @BruhDREED
    @BruhDREED 2 года назад

    how about moving the character with camera following the character

    • @gDevSimplified
      @gDevSimplified  2 года назад

      Yes you can do that by using a smooth follow camera script and make it follow the player

  • @lostburn
    @lostburn 2 года назад

    nice dude

    • @gDevSimplified
      @gDevSimplified  2 года назад

      Thanks bro,
      Really appreciate your help ❤️

  • @shahzarkhan5352
    @shahzarkhan5352 2 года назад +1

    How to convert it to mobile joystick?

    • @gDevSimplified
      @gDevSimplified  2 года назад

      i have a video for that.
      ruclips.net/video/yt-TbhTQISM/видео.html
      Take the movement part from this video and use its movement input value as the parameter of input value of the animation.
      hope this helps, Thanks for all your support.💖

  • @brutalgamer1507
    @brutalgamer1507 2 года назад +1

    Bro add sword combat system i really appreciate your work
    But explain in Hindi

  • @BruhDREED
    @BruhDREED 2 года назад

    IT is not letting me move

    • @gDevSimplified
      @gDevSimplified  2 года назад

      In animator tab , there is a option call allow root motion .make sure that it's checked.if still it's not working then your animation doesn't have root motion ,if this is the case then your character will stay in same place and do the animations but won't move.
      Thanks for all the support ❤️

    • @BruhDREED
      @BruhDREED 2 года назад

      @@gDevSimplified i fixed it thanks

    • @gDevSimplified
      @gDevSimplified  2 года назад

      @@BruhDREED glad it helped