Third Person Movement (With Animations) Unity Tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ม.ค. 2025

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

  • @itsalwaysoniontime
    @itsalwaysoniontime ปีที่แล้ว +8

    brackeys method has just become the universal way to make tps player, very good video, i have been searching for this for months.

  • @midiolympics5105
    @midiolympics5105 ปีที่แล้ว +8

    This is just what I was looking for, thank you!

  • @PenguinGuy17
    @PenguinGuy17 10 หลายเดือนก่อน +13

    i thought i wanted to learn coding, then something as simple as moving or camera movement is so aggravating

    • @firewalker1121
      @firewalker1121 3 หลายเดือนก่อน +1

      I know this is 6 months ago lol but I am a software engineer and game dev is a whooole different ballpark to what most 'coding' is. But I get what you mean haha

    • @mrblibbdev
      @mrblibbdev 2 หลายเดือนก่อน +1

      this is hard but other stuff is easier just "jump force" is hard "gravity modfiers" are also hard but this code is also a advanced code so keep ur dreams it can be hard

  • @Ksoloanimations
    @Ksoloanimations 3 หลายเดือนก่อน +1

    My Char isn't moving after adding the lines for gravity please help

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

    Thanks a lot
    It's the best Third Person tutorial on youtube :)

  • @T-Bone511
    @T-Bone511 ปีที่แล้ว +6

    This is perfect!!

  • @ayantrambaran2532
    @ayantrambaran2532 9 หลายเดือนก่อน +1

    Need Help my character is floating above the ground in play mode.

  • @ferasalfarsi897
    @ferasalfarsi897 10 หลายเดือนก่อน +1

    please, Zoom in when you coding. The words and letters are very small. It is hard to see and read.

  • @_foundd
    @_foundd 9 หลายเดือนก่อน +1

    You had root motion on, animations dont change the position of your player unless you have root motion on.

  • @T-Bone511
    @T-Bone511 ปีที่แล้ว +3

    I have one question my character cant use A and D to move sideways it just makes them move forward how can I fix that?

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

      Edit the input settings

  • @SHabersaat
    @SHabersaat ปีที่แล้ว +2

    Hey, if you have time could you please help me? I am making a game for a school project but every code I see just does not work for me... I don't know if I am doing something wrong but it says that there are no mistakes.

    • @JTAGames
      @JTAGames  ปีที่แล้ว +2

      discord.gg/dNeTt7uuHE

    • @JTAGames
      @JTAGames  ปีที่แล้ว +2

      Post a picture of your code on the 3rd person movement channel on discord. And be more descriptive of what’s not working.

  • @ZYR_WAX
    @ZYR_WAX ปีที่แล้ว +2

    ThirdPersonMovement.cs(25,41): error CS0029: Cannot implicitly convert type 'float' to 'UnityEngine.Vector3'

    • @JTAGames
      @JTAGames  11 หลายเดือนก่อน +2

      Not sure about the specific line of code but make sure that your assigning one of the float values of the vector and not the whole thing.
      float x = Vector3.x Not float x = Vector3

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

    could you make a fps controller with full body animations

  • @codinglions007
    @codinglions007 ปีที่แล้ว +2

    My Jump animation is not completing animating and get recalled multiple times please help

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

      disable can transition to self in transition between any state into jump animation

  • @ftlbeamz905
    @ftlbeamz905 ปีที่แล้ว

    It just ttells me that the name moveDirection does not exist in this context and also gives me an error CS0120

    • @mrblibbdev
      @mrblibbdev 2 หลายเดือนก่อน

      if (direction.magnitude >= 0.1f)
      {
      float targetAngle = Mathf.Atan2(direction.x, direction.z) * Mathf.Rad2Deg + cam.eulerAngles.y;
      float angle = Mathf.SmoothDampAngle(transform.eulerAngles.y, targetAngle, ref turnSmoothVelocity, turnSmoothTime);
      transform.rotation = Quaternion.Euler(0f, targetAngle, 0f);
      Vector3 moveDirection = Quaternion.Euler(0f, targetAngle, 0f) * Vector3.forward;
      controller.Move(moveDirection.normalized * trueSpeed * Time.deltaTime);
      }

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

    Saw this on an ad

  • @druwayu
    @druwayu ปีที่แล้ว

    how do you stop it from turning around when you want to move backwards in reverse of forward?.

    • @Bl1tz4n
      @Bl1tz4n 4 หลายเดือนก่อน

      in the cinemachine component you will see a setting like y- axis x-axis and at the bottom right corner there will be a place where you can click inverted if this is clicked as on turn it off and your problem should be fixed

  • @agenthd9764
    @agenthd9764 ปีที่แล้ว

    Where i get the codes

  • @bad_cat9989
    @bad_cat9989 9 หลายเดือนก่อน

    can you give me all the code files

  • @soufyanadame
    @soufyanadame 11 หลายเดือนก่อน

    can we have the code

  • @munyunu
    @munyunu ปีที่แล้ว +2

    Thank you!!

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

      You’re welcome!

  • @SUPERHUNTERNINJA
    @SUPERHUNTERNINJA ปีที่แล้ว

    Dosenot working

  • @abhisek3735
    @abhisek3735 ปีที่แล้ว

    I love you

    • @mrblibbdev
      @mrblibbdev 2 หลายเดือนก่อน

      eyyy

  • @abrormukhammadiev6358
    @abrormukhammadiev6358 ปีที่แล้ว +2

    this guy has got several errors and not showing them. Luckily, I could figure it out myselft. Still, thank you

    • @johnaskew147
      @johnaskew147 ปีที่แล้ว

      I get an issue with the movement along the x axis being ignored. Can you confirm what errors you got and how you resolved them?

    • @nasapctaikapurua6169
      @nasapctaikapurua6169 ปีที่แล้ว

      why do i fall so slow no matter what my gravity is set to

  • @iashi4289
    @iashi4289 ปีที่แล้ว +2

    Why so fast bro

    • @T-Bone511
      @T-Bone511 ปีที่แล้ว +2

      I just played it at .75 speed haha

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

      not only that, he just reads code without any explanation on why he does what he does, it's silly