Touch Third Person Character Controller in Unity 2018 🎓



This time I will show how to implement a thirdperson controller with touch gestures. If you want to make a third person shooter for mobile devices, then this video could be helpful to find a start how to implement your game logic. I will show you three methods: AutoLook &JoystickLook, TouchLook.
I tried to keep this video as short and simple as possible.

Fixed Button / Fixed Touchpad:
Joystick Pack:

The script I wrote:

Full Tutorial Series:
Part 1: (current)
Part 2:
Part 3:

Nguồn: https://infernalaffairsguild.com/

Xem thêm bài viết khác: https://infernalaffairsguild.com/game/


Article Categories:
Game

Comments

  • See project files here: http://bit.ly/ditzelgames
    See updated video here: https://www.youtube.com/watch?v=1tSt-ZeEZNA

    Fix the error "inputVector":
    1) Find the script in the project name “Joystick”.
    2) open the script “Joystick”.
    3) find the string “protected Vector2 inputVector = Vector2.zero” and change that to “public Vector2 inputVector = Vector2.zero”.
    4) save the script “Joystick”. That is all 😊 good luck! >:)

    DitzelGames July 9, 2020 1:00 pm Reply
  • where did u download the character?

    Murky Cricket July 9, 2020 1:00 pm Reply
  • Please Add Camera Collision, Thanks

    Muhamad Tholib July 9, 2020 1:00 pm Reply
  • @DitzelGames .Hi , I have this error object does not contain a definición for x and no acessible extensión method x accepting a girar argument if type object could be found . Help please

    Tomy Si Tomypolla July 9, 2020 1:00 pm Reply
  • What a mess…nothing work here

    Gonzalo Ulloa July 9, 2020 1:00 pm Reply
  • Thank you!!

    Anonymous July 9, 2020 1:00 pm Reply
  • Fixed Joystick script is empty. How to resolve this.
    Thank you

    SOT July 9, 2020 1:00 pm Reply
  • okay i love you! it works perfectly, my only question would be " how do i write a line so the touchfield will move the camera up and down and not only left right?"

    privacy please July 9, 2020 1:00 pm Reply
  • hey i do it all thing exact you do that and i have no errors but i dont know why i cant move with joystick

    ANONYMOUS CLAN July 9, 2020 1:00 pm Reply
  • U r legend

    Play Store Gamer July 9, 2020 1:00 pm Reply
  • Why do most game dev youtubers have brackey’s accent?😂

    Victoria Valerie July 9, 2020 1:00 pm Reply
  • THI IS GOLD ,.. thanks PAL

    Fadjrin Ferdiansyah July 9, 2020 1:00 pm Reply
  • Whenever i stop moving right joystick camera postition is go to normal (default) help !

    Gohel boy July 9, 2020 1:00 pm Reply
  • It seems this is only valid in single play games. How can i use FixedTouchField without allocation in multiplay games?

    simple mashup July 9, 2020 1:00 pm Reply
  • Control.m_Jump = Button.Pressed;

    Control.Hinput = LeftJoystick.inputVector.x;

    Control.Vinput = LeftJoystick.inputVector.y;

    x&y bulamıyor

    SÜPERİZ !!! July 9, 2020 1:00 pm Reply
  • having this error and dont know what to do any one can help please?
    ..'FixedJoystick' does not contain a definition for 'inputVector' and no accessible extension method 'inputVector' accepting a first argument of type 'FixedJoystick' could be found (are you missing a using directive or an assembly reference?)

    Free Diver July 9, 2020 1:00 pm Reply
  • Hello, When I wrote ThordPersonInput, there were written that "FixedJoystick does not contain a definition for 'inputVector' ". How can I solve this?

    Just Smile July 9, 2020 1:00 pm Reply
  • NullReferenceException: Object reference not set to an instance of an object

    ThirdPersonInput.Update () (at Assets/ThirdPersonInput.cs:34)

    It's 2019.3.14v engine. and this error occurs about Camera transform and rotation.

    How can i fix it?

    simple mashup July 9, 2020 1:00 pm Reply
  • I am unable to add my fixed button script to my handle PLS HELPPPPPPPPPPP!!!!!!!

    Relex Gaming July 9, 2020 1:00 pm Reply
  • hi, can i use the entire touch as a controller, without using a joystick'? can yo tell me how can i do it?

    Oscar B. July 9, 2020 1:00 pm Reply
  • InputVector error is fixed by replacing inputVector by input in thridpersoncont. Script

    Supun Shanaka July 9, 2020 1:00 pm Reply
  • Does it include with camera collision?

    Whisper Pepperoni July 9, 2020 1:00 pm Reply
  • I love you for making this tutorial 😭
    I finally found this after so many days 😭😭😭
    but thank you so much 🤍🤍🤍🤍🤍

    Shinichi Kudo July 9, 2020 1:00 pm Reply
  • I don't have a fixedbutton

    Ethan C July 9, 2020 1:00 pm Reply
  • YOU ARE THE GOAT!

    Rishraff July 9, 2020 1:00 pm Reply
  • i followed the tutorial but. character is not moving any where

    Usman Ahmed July 9, 2020 1:00 pm Reply
  • where can i find the ThridPersonUserController script ?

    Steeeviee July 9, 2020 1:00 pm Reply
  • It would be cool if it would use your own made character with its animation then teach us how to add a mobile input controller then it would move and animate your character

    WildEgg July 9, 2020 1:00 pm Reply
  • can someone help me touch Filed is not working i am not getting any errors but not able to move the camera.

    Alroy pereira July 9, 2020 1:00 pm Reply
  • Hello bro i follow you Azerbaijan ),Bro Pls Send me This Files whatsap or Gmail whatsap +994 051 621 89 02 : Gmail museyibli.ruhin@gmail.com

    World War 3 July 9, 2020 1:00 pm Reply
  • Amazing tutorial man. Thanks!

    Saad Anees July 9, 2020 1:00 pm Reply
  • Thanks it helps a lot.

    Indrit Vaka July 9, 2020 1:00 pm Reply
  • That's what I call a nice third-person controller tutorial! Well done! 👍🤓

    OXMOND Tutorials July 9, 2020 1:00 pm Reply
  • best tut ever !!

    Yassine Aguedid July 9, 2020 1:00 pm Reply
  • can i use the joystick in my game and publish it?

    Yassine Aguedid July 9, 2020 1:00 pm Reply
  • Oi sou Br e acompanho seu canal, tenho muitas dificudades porque não domino o ingles, mas conseigo aprender algumas coisas

    Davi Lam July 9, 2020 1:00 pm Reply
  • I can use Camera Collision with ThridPersonInput or touch-field?

    Takuaze Mad'z July 9, 2020 1:00 pm Reply
  • AweSome!!!! little bugs with fixed button (monobehaviour) and therewas no inputvector although there was input so it all worked out !! Thanks a ton!!

    Dhruv Sengpta July 9, 2020 1:00 pm Reply
  • Hello. How to make the character slightly to the left side of the centre of the camera view ? THANK YOU

    Edgar July 9, 2020 1:00 pm Reply
  • Sorry, where can I download this project, I can't make it myself)

    Миша Ульянин July 9, 2020 1:00 pm Reply
  • im sorry this is just bad tutorial. yoou not explain clearly and im very confuse to get the code. but thank you

    joys animation studio July 9, 2020 1:00 pm Reply
  • In 2020, if u used the same package, when you changed inputVector, it is not protected Vector2 … but it is private.. so just change the private by the public.. and don t write inputVector, but input in ThirdPersonControl…

    @DitzelGames, nice work, you are the best :thumbsup:

    AdriFid Games July 9, 2020 1:00 pm Reply
  • how to make the player run like where….?

    Tekno Bae July 9, 2020 1:00 pm Reply
  • i am facing this issue can you please help me, how may I resolve this issue?
    Assets/ThirPersonInput.cs(8,9): error CS0246: The type or namespace name `FixedJoystick' could not be found. Are you missing an assembly reference?

    Taimoor Mazhar July 9, 2020 1:00 pm Reply
  • Can you post the link of project

    Ali Ghanim July 9, 2020 1:00 pm Reply
  • PLEASE HEEEELP ;( I used the touch field option for making my game. But the third person camera only turns around the player along the horizontal axis. So you basically can't look up/down at all while playing the game, only sideways. HOW CAN I ENABLE THE CAMERA TO MOVE FREELY ON THE VERTICAL AXIS TOO SO THAT I CAN LOOK UP/DOWN ? Can anybody help me with this ;(((

    Abhay Prakash July 9, 2020 1:00 pm Reply

Leave a Comment

Your email address will not be published. Required fields are marked *