Touch FPS Controls in Unity 2018 🎓

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

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

  • @DitzelGames
    @DitzelGames  6 ปีที่แล้ว +11

    For all of you who have a problem and is stuck, because the inputVector is not accessible anymore.
    I got an updated version of the video:
    th-cam.com/video/zHvp2PN5NIQ/w-d-xo.html

    • @Trickolo
      @Trickolo 6 ปีที่แล้ว

      hej my sensitivity is super fast..can you help me about that?

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

      @@Trickolo th-cam.com/video/CmCVtEZUKIs/w-d-xo.html

    • @ELPIRATATUQUE
      @ELPIRATATUQUE 5 ปีที่แล้ว

      ok, just commented and just saw this :)

    • @asdman7447
      @asdman7447 5 ปีที่แล้ว

      Subscribed

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

    Hi. You can download the android-apk and project files here:
    bit.ly/ditzelgames

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

      DitzelGames where is first person mobile project?

    • @user-ug6vd8ud1v
      @user-ug6vd8ud1v 6 ปีที่แล้ว +1

      At last! Thank you!

    • @user-ug6vd8ud1v
      @user-ug6vd8ud1v 6 ปีที่แล้ว +1

      But why can't you upload the first person controller project!?

    • @user-ug6vd8ud1v
      @user-ug6vd8ud1v 6 ปีที่แล้ว

      Wow. I just realized I can swap the camera

    • @user-ug6vd8ud1v
      @user-ug6vd8ud1v 6 ปีที่แล้ว

      But when I download and run your TPS project, I see just violet screen and buttons. I was glad to find this channel, but everything on it is useless for me

  • @NevRS32
    @NevRS32 6 ปีที่แล้ว +23

    Saving my life on a delivery! 4am and you just made everything much easier! Can finally sleep!

  • @Ed-iq5vi
    @Ed-iq5vi 3 ปีที่แล้ว +3

    If you have problem with handle move on Android like stick or imposible move it or rotate, just turn off Lock Cursor in FPSControl settings.

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

      Спасибо!

  • @fernandomartins354
    @fernandomartins354 5 ปีที่แล้ว +38

    Have problems with "inputVector " !? Understand the script and change to "MoveJoystick.Direction" It's simple!!!

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

    Thank you so much. As you say The solution of inputVector error: select it > Press F12 > change the modifier to public.

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

      f12 de sembole gidilemiyor gibi bi hata veriyor. düzeltmiyor. Siz yapabildiniz mi

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

      aga şey sorucam bu karakter kontrolcüsü assets > Import Package'da bulunmuyor onu nasıl indirebilirim

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

      şimdi kendim de kodlarım ama çok falza fonksyiyon var hazır olanında..

  • @АнтонПетров-ф4я
    @АнтонПетров-ф4я 5 ปีที่แล้ว +5

    Man, I tried to do this more than 3 month.Thank you SO much.

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

      Вы пробовали повесить управление на FPS Controller?

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

    it was 3 months of searching and now i got the key
    thankyou so much sir

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

    An excellent tutorial
    Nice code changes
    Easy to follow
    An excellent starting point for indie devs doing their first game

  • @ipuzzledalot7946
    @ipuzzledalot7946 6 ปีที่แล้ว +11

    Just as a general rule you shouldnt run getcomponent in update, as this runs every frame and can take up performance. Get a reference in start function instead

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

      hmmm but i have Errors by writing it in start()

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

    Guys, I though and found the dicide.For normal working of joystick you should write this string
    fps.RunAxis = new Vector2(moveJoystic.Horizontal, moveJoystic.Vertical);

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

    Can You Help Me?
    Assets/MyScript.cs(25,33): error CS1061: Type `FixedJoystick' does not contain a definition for `inputVector' and no extension method `inputVector' of type `FixedJoystick' could be found. Are you missing an assembly reference?

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

    for you guys who are having the problem with the inputVector edit your fixedjoystick script to this:
    using UnityEngine;
    using UnityEngine.EventSystems;
    public class FixedJoystick : Joystick
    {
    public Vector2 joystickPosition = Vector2.zero;
    private Camera cam = new Camera();
    public Vector2 inputVector;
    void Start()
    {
    joystickPosition = RectTransformUtility.WorldToScreenPoint(cam, background.position);
    }
    public override void OnDrag(PointerEventData eventData)
    {
    Vector2 direction = eventData.position - joystickPosition;
    inputVector = (direction.magnitude > background.sizeDelta.x / 2f) ? direction.normalized : direction / (background.sizeDelta.x / 2f);
    ClampJoystick();
    handle.anchoredPosition = (inputVector * background.sizeDelta.x / 2f) * handleLimit;
    }
    public override void OnPointerDown(PointerEventData eventData)
    {
    OnDrag(eventData);
    }
    public override void OnPointerUp(PointerEventData eventData)
    {
    inputVector = Vector2.zero;
    handle.anchoredPosition = Vector2.zero;
    }
    }

  • @asmb-sk9fe
    @asmb-sk9fe 2 ปีที่แล้ว +1

    I have a question how do i set a max value for view point like a player reaching a max y value he can't look further down/up or hitting the max x value he can't look further left/right can you make a tutorial on that?

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

      You can search clamp look if you want

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

    Ditzel Game thank you very much for this tutorial... i was checking this out!.. and your channel is so Nice with all the tutorials i needed for creating an FPS games!.. thanks a lot!.. +1sub

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

      Thank you!

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

      @@DitzelGames Rigidbody fps controller script please

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

    If your camera shaky in certain situations, edit update() to lateupdate() in HeadBob.cs in maincamera

  • @lukexplay2097
    @lukexplay2097 6 ปีที่แล้ว +10

    you saved my life, thank you so much

  • @MyMusic-pi6lz
    @MyMusic-pi6lz 3 ปีที่แล้ว +2

    Which version unity is this?

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

    Thanks a Lot This tutorial Saved Me

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

    Thank you! Your code for the fixedtouchfield is very useful.

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

    You are great!!!
    You deserve lot's of love....

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

    Assets/Player.cs(21,37): error CS1061: Type `FixedJoystick' does not contain a definition for `GetInput' and no extension method `GetInput' of type `FixedJoystick' could be found. Are you missing `UnityEngine.Playables' using directive?
    fps.RunAxis = MoveJosystick.Direction;

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

      thank you so much !!!!!!!!

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

    It seems that FixedJoystick is empty in current versions, I used a floating one instead. Worked great, thanks for this video!

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

      what should i put in fixedjoystick script its empty. inputvector doesnt work .plss help me .

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

      and me

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

    You helped me out so much, u got a new sub

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

    for me its not working.the issue is multi touch whwenever i use both the joystick and the camera swipe together the camera swipe detects the joystick input as a touch and registers a long swipe

    • @Chocolate-qy3li
      @Chocolate-qy3li 3 ปีที่แล้ว

      I have the same issue, did you ever find a solution?

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

    Using Rigidbody Controller makes the camera shaky when I get close to an object, Do you have suggestions about what am I doing wrong?

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

    I can hold and drag the joystick to move in unity, but after I built it into apk,in mobile phone it stucks when I drag it. Instead I can just press it as a 8 direction button. Once you pressed it you cannot drag until you release your finger

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

    you just saved me a ton of time !!!
    subbed for sure

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

    Hello, i have a problem with the fixedbutton script it says that the script needs to derive from a monobehaviour, that means that i cannot assign the fixedbutton to the button

  • @shekharkaangne
    @shekharkaangne 5 ปีที่แล้ว +4

    hi the MyScript dose not detecting the FixedButton/Joystick/TouchField, i m using Unity 2018

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

    I am getting an error saying 'FixedJoystick' does not contain definition for 'inputVector' please help

  • @blecyt.
    @blecyt. 2 ปีที่แล้ว

    Assets\Standard Assets\Characters\FirstPersonCharacter\Prefabs\myscript.cs(26,36): error CS1061: '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?)
    im stuck here help me

    • @asmb-sk9fe
      @asmb-sk9fe 2 ปีที่แล้ว

      Just go to myscript and then as you see you put inputvector right? change input vector to direction

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

    Assets/MyScript.cs(22,30): error CS1061: Type `FixedJoystick' does not contain a definition for `InputVector' and no extension method `InputVector' of type `FixedJoystick' could be found. Are you missing an assembly reference?

    • @DitzelGames
      @DitzelGames  6 ปีที่แล้ว

      1. Mark InputVector
      2. Hit F12
      3. Change the modifier to public

    • @egorstratu
      @egorstratu 6 ปีที่แล้ว

      @@DitzelGames Did not quite understand

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

      @@egorstratu
      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 😊

    • @egorstratu
      @egorstratu 6 ปีที่แล้ว

      @@DitzelGames Thank you!

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

    I have a question about the button. it seems like is is only pressed on not pressed. is there a way to detect the if it was pressed down this frame, similar to GetKeyDown and GetKeyUp?

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

    No entiendo muy bien lo que dices pero entiendo muy bien de lo que hablas Gracias Man te ganaste un suscriptor

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

    Thnaks a lot buddy,U r Great.Helped me a lot.

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

    Really awesome job! 🔥🙌

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

    Thank for the help sir.
    You saved my Research

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

    In import Package i have no character or FPS Controller, But i have a self make FPS Character with character controller. when i am adding the joystick controller its not working, Can you help me please how can i add Joystick controller in my project?

  • @SamHalen5150
    @SamHalen5150 6 ปีที่แล้ว

    Thank you! This works very well even on Unity 2018.1Of2

  • @mikerotch4875
    @mikerotch4875 6 ปีที่แล้ว +4

    You really helped me out. Thank you. Subbed.

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

    Please help! This doesnt work for FPS kit 2019. İ couldnt figure out how to do. İt has 2 script, mouse look and FPScontroller. Mouse look is quaternion type control. Not like in the video. So i just did what you ve done in the video but for the codes that contain "mouse X" "mouse Y" . İ couldnt figure out. Unity had compile errors after that and i cannot add your fixedtouchfield script it says "dont inherit script" or something like that. İ use unity 2020. Also i couldnt find cursor lock

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

    is it allowed to use the joystick pack for commercial purposes?

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

    my move joystick is acting kind of weird, it can't get the full range of motion, do you know why?

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

    Assets\Standard Assets\Characters\FirstPersonCharacter\Scripts\RigidbodyFirstPersonController.cs(120,24): error CS0400: The type or namespace name 'FixedJoystick' could not be found in the global namespace (are you missing an assembly reference?)
    whyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy

  • @FoxGAMING-NTF
    @FoxGAMING-NTF 4 ปีที่แล้ว

    I can't find Rigidbody First Person Controller, will this work with just the First Person Controller?

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

    Would this tutorial work for the regular FPSController cause the default code is a bit different than the Rigid body FPS

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

      i was also wondering this? did you manage to figure it out?

  • @pedrogama2707
    @pedrogama2707 5 ปีที่แล้ว

    Thanks for the tutorial man, It worked nice for me! New sub and new like.

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

    YOU LEGEND :) :) :) :) thanks for the video.. i really didnt know it was that simple.. i been looking around at other guides/tutorials but not a single one was as easy as you have shown how to do it... AWSOME... and THANK YOU! ......
    PS. at 8:40 the line "fps.RunAxis = MoveJoystick.inputVector;" i needed to change to "fps.RunAxis = MoveJoystick.Direction;" :P
    I do have one more question.. when movign and then stopping the RigidBody shakes for a while and then stops... is there a setting to fix this??
    EDIT: fixed it i had to set RigidBody to interpolate :) thanks

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

      Did you try on FPS Controller, bro? I need a help.

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

      The .direction works for me!!! Thank You good sir, still trying to get mouseLook to work though

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

    Hi I’m trying to make a 2d game where there is a move left and a move right button and a jump button and I want to make the characters gun face towards the place I touched but not when I’m touching the buttons. How do I do that?

  • @LeabJb
    @LeabJb 6 ปีที่แล้ว

    - For all those people having problems with script!.. watch well the tutorial!.. and do as in the video.
    - For those complaining about virtual joystick!.. my unity is a v5.3.8f2 and not compatible with the virtual joystick,but I'm not using the virtual joystick.. I'm only using the fixed joystick script of the joystick for my own joystick I've created with image-canvas!..do the same is too easy and work perfectly.

  • @efeyesilyurt9222
    @efeyesilyurt9222 5 ปีที่แล้ว

    The type or namespace name 'RigidbodyFirstPersonController' could not be found (are you missing a using directive or an assembly reference?)

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

      Using UnityEngine.StandardAssets.Character.Firstperson

  • @christianruiz3777
    @christianruiz3777 5 ปีที่แล้ว +4

    For some reason is not working for me. I am using unity 2019. Everything was fine until the last script. Since the code lines about FixedJoystick, FixeButton, FixedTouchField gives me errors.

    • @kurtisgibson2929
      @kurtisgibson2929 5 ปีที่แล้ว

      it should be MoveJoystick.Direction not inputvector anymore it used to work but that's the fix.

    • @oscarsanchez2739
      @oscarsanchez2739 5 ปีที่แล้ว

      @@kurtisgibson2929 Thank you so much !! You are a Master.

    • @kurtisgibson2929
      @kurtisgibson2929 5 ปีที่แล้ว

      @@oscarsanchez2739 i still have no idea what i'm doing

    • @vortexgames744
      @vortexgames744 5 ปีที่แล้ว

      @@kurtisgibson2929 I'm getting error CS0246 : The type or namespace name FixedButton could not be found (are you missing a using directive or an assembly reference)

    • @kurtisgibson2929
      @kurtisgibson2929 5 ปีที่แล้ว

      @@vortexgames744 try reimporting the fixed button asset or use the floating button assist as though it was a fixed button

  • @francesco1999_
    @francesco1999_ 5 ปีที่แล้ว

    Great! But i have one question, can i modifier the sensity of the camera? It's too fast and in your video it's smoother, more slow, please!

  • @Rk_Shawon
    @Rk_Shawon 5 ปีที่แล้ว

    i want to control the shooting with joystick(2d game) .what i mean if i drag joystick up the character should shoot up if i drag the joystick left/right'/down or any direction the character should shoot in that direction. the character should not move only his direction should change.if i rotate the joystick 360 degree the character should rotate his gun point 360 without moving.
    can u make anything like that.
    i am using unity joystick just like used in this video.

  • @erpcrmsoporteentarragona
    @erpcrmsoporteentarragona 5 ปีที่แล้ว

    Hi @DitzelGames , Can you help me to modify the RigidBody Script so that the FPS flies with another Joystick? thx

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

    joystick works but my character does not stand on the platform when I touch the button starts to fall down HELP ME!!!!!

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

    When I try to use the RigidbodyFirstPersonController, the script gimme an error, and I can not continue.
    I use the 2019 Unity version

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

      use unity 2018

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

    Im running into an issue where the imported FixedJoystick script is empty...Any help would be appreciated :))

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

    How could I touch objects through the panel?
    Raycast Target is blocks me, help please.
    Thanks in advance!

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

    this works great but when i try using 3 or 4 hand 1 to joystick different assets joysstick and 2 to Fixedtouchfield and three and four to fixedbutton it make the fixedtouchfield glitching like flicking when i pressed to 4 hand or i unpressed hand 4

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

    thanks alot sir
    but i have a littile problem can you help me or anyone ?
    i have error its says
    ...
    Error CS1061 '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?) Assembly-CSharp C:\Users\ahmad\MAZE_GAME\Assets\myscript.cs 26 Active
    ....
    what to do ??

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

    How they make fire button hold pressed while still interacting touch look?

  • @sunilkhatri8644
    @sunilkhatri8644 6 ปีที่แล้ว

    Thank You for this - it is excellent and what I was looking for.
    One question is that I am using Unity 2018 and the Touch Field in MyScript does not accept "Panel" when I try to drag and drop it in as you do in your example.
    Is there any reason for this?
    Everything else works great.
    Thank you for your help.

    • @FelixFilip
      @FelixFilip 6 ปีที่แล้ว

      S K Help please! 😞 I tried it 3 times now
      Can you upload your "MyScript" Script please?? It would really really really help a lot

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

      it is the same as in the video but here you go:
      using System.Collections;
      using System.Collections.Generic;
      using UnityEngine;
      using UnityStandardAssets.Characters.FirstPerson;
      public class MyScript1 : MonoBehaviour {
      public FixedJoystick MoveJoystick;
      public FixedButton JumpButton;
      public FixedTouchField TouchField;
      // Use this for initialization
      void Start () {
      }
      // Update is called once per frame
      void Update () {
      var fps = GetComponent();
      fps.RunAxis = MoveJoystick.inputVector;
      fps.JumpAxis = JumpButton.Pressed;
      fps.mouseLook.LookAxis = TouchField.TouchDist;
      }
      }

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

      got it - did not attach the fixedtouchfield script

    • @FelixFilip
      @FelixFilip 6 ปีที่แล้ว

      THANKS!!!!

  • @تيماو-ه5س
    @تيماو-ه5س 6 ปีที่แล้ว +1

    After the new update for the joystick pack (1.1) I can't find Inputvector in the FixedJoystick please help

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

    can you pls have a tutorial on how to add touch controls in fps microgame?

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

    i have to download ver. 2018 and i cant cause i have a 32 bit pc can plz copy paste all the code inside the joystick pack plz i need your help

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

    Hello,does anyone know why I can't drop the Handle in the Jump Button, and the panel on touch field (that final part)the strage thing is that i can actually drop the handle in the Touch field, and I also get error NullReferenceException: Object reference not set to an instance of an object
    MyScript.Update () (at Assets/MyScript.cs:24).

    • @duaneanthony2438
      @duaneanthony2438 6 ปีที่แล้ว

      You need to add the correct scripts to them.

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

    For ThirdPersonInput.cs error just change every :
    input.x to Horizontal
    input.y to Vertical

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

      When I try to use the RigidbodyFirstPersonController, the script gimme an error, and I can not continue. They told me:
      'GUIText' is obsolete: 'GUIText has been removed. Use UI.Text instead.
      Also tell me:
      CS0006 Metadata file not found 'I:\Unity\Projects\MyProject\Temp\bin\Debug\Assembly-CSharp-firstpass.dll'
      I try to change to UI.Text and also gimme the error.
      I undeestand nothing

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

    I am a new subscriber friend, thanks for your videos, blessings

  • @asmb-sk9fe
    @asmb-sk9fe 2 ปีที่แล้ว

    Hey how can we clamp the rotation like its flipping and it doesn't clamps it

  • @GregSimon
    @GregSimon 6 ปีที่แล้ว

    This was a great tutorial, clear and consise. Thank you!

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

    I don't have the first person module 😢

  • @saniq3175
    @saniq3175 6 ปีที่แล้ว

    Thank you but how can i add the fire button and the car ride button i have a mouse fire and ride the car and you want to turn them into touching buttons

  • @nemesis9978
    @nemesis9978 5 ปีที่แล้ว

    Rigidbody not able to climbing stairs, any help??? I've searched it everywhere but no luck, thanks : )

  • @asdman7447
    @asdman7447 5 ปีที่แล้ว

    It's helped a lot. Thank you!

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

    My screen is shaking when i use touch field in game? Do you know why ?

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

    Good vido thanks man helped me a lot

  • @LoganoutGm
    @LoganoutGm 6 ปีที่แล้ว

    very good.
    How could I make the analog to be speed sensitive?
    Depending on the distance of the analogue it just walks and does not run.
    The speed of the player influenced by the analog.

  • @TayaYoung04
    @TayaYoung04 5 ปีที่แล้ว

    Thank you so much for this video, you're the best!

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

    Can it be floating joystick in half of the screen size and for movement in other side like in free fire

  • @damnboy8319
    @damnboy8319 6 ปีที่แล้ว +4

    When i click on import packages nothing will show only show custom packages, please help me and reply i want environment And character package.please help me

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

    Excellet tutorial! but I have a problem, at the final, I Can´t drop Handle (1) to Jump Button, can you help me?

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

    I have a problem in the script part of the view in
    in the two PointerEventData below

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

    En vez de ".inputVector", utilicé ".Direction" y funcionó bien

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

      Muuuuuuuuuuuuuuuuuuuuuuchasssssssssssssssssss GRAAAAAAAAACIIIIIIIIIAS.
      Me has hecho el aguinaldo de Diciembre.

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

      @@zenki4813 vaaaaayalo ! bro

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

    Hi nice tutorial , I m using the latest version of unity and the buttons work but the touchfield doesn't look it just causes both buttons to work at the same time. I get forwards, backwards, left and right but no up or down left or right looking. I m not getting any errors either , any help would be appreciated thanks.

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

    HElP please. I did all steps while the project was in PC mode... once i switch to IOS build option it doesn't work anymore. Is there anything else that needs to be done ?

  • @cloud_computing
    @cloud_computing 6 ปีที่แล้ว

    Thanks for the Amazing Tutorial...but i have some issue there without activating or Check Air Control I cannot move around with joystick like move Forward/Backward etc and Jump don't work as well but after activating Air Control I can move around but jump still not working..?

    • @DitzelGames
      @DitzelGames  6 ปีที่แล้ว

      Check the parameter for raycast length for ground detection

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

    Me funcionó correctamente, lo pude adaptar tratando de que sea más similar a un Input.GetAxis("Mouse X"). Ya es depende de probar con los valores dentro de Clamp o la misma sensibilidad(speed).
    mouseX = Mathf.Clamp(_zoneRotateTouch.TouchDist.x, -50f, 50f) * 0.02f * speed;
    mouseY = Mathf.Clamp(_zoneRotateTouch.TouchDist.y, -50f, 50f) * 0.02f * speed;

    • @asmb-sk9fe
      @asmb-sk9fe 2 ปีที่แล้ว

      Pouvez-vous me donner le scénario ?

  • @olegtoporkov8597
    @olegtoporkov8597 6 ปีที่แล้ว +7

    I have problem with input vector. It's inaccessible due to its protection level

    • @DitzelGames
      @DitzelGames  6 ปีที่แล้ว +6

      select it > Press F12 > change the modifier to public.

    • @olegtoporkov8597
      @olegtoporkov8597 6 ปีที่แล้ว +5

      Thank you. You really helped me. Subscribe and like from me!

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

    one problem, touching the joystick makes the camera change direction even though the panel isn't overlapping with it

    • @Chocolate-qy3li
      @Chocolate-qy3li 3 ปีที่แล้ว

      I have the same issue, did you ever find the solution?

  • @three-eggslee9143
    @three-eggslee9143 5 ปีที่แล้ว +1

    Thanks for sharing, I made the first-person view and third-person view according to your video. Thanks! But how to change it from the first-person view to third-person view? Could you please give me some tips or hints?

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

    Thanks, i really need this!

  • @rike6771
    @rike6771 8 หลายเดือนก่อน

    Where did you get the character asset?

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

    Fantastic video

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

    Hi, I followed the video but I get an error in the console:
    Assets\Standard Assets\Characters\FirstPersonCharacter\Scripts\MyScript.cs(8,12): error CS0246: The type or namespace name 'FixedJoystick' could not be found (are you missing a using directive or an assembly reference?)
    Assets\Standard Assets\Characters\FirstPersonCharacter\Scripts\MyScript.cs(9,12): error CS0246: The type or namespace name 'FixedButton' could not be found (are you missing a using directive or an assembly reference?)
    Assets\Standard Assets\Characters\FirstPersonCharacter\Scripts\MyScript.cs(10,12): error CS0246: The type or namespace name 'FixedTouchField' could not be found (are you missing a using directive or an assembly reference?)
    This is because the inputVector is not accessible anymore???
    Thanks for sharing

    • @erpcrmsoporteentarragona
      @erpcrmsoporteentarragona 5 ปีที่แล้ว

      I respond to myself, in a new project and Unity 2018.3.11f1 works correctly, but in my project I get those errors. Thank you.

  • @RaiDer22898
    @RaiDer22898 6 ปีที่แล้ว

    it helped me a lot! thanks

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

    after long time I manage to set controls.

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

    hi, can you make a tutorial on half screen touch control camera?
    which is focused on player, but which rotates all around player and also up and down.
    (like in mobile game freefire)

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

    MoveJoystick.inputVector; problem. Please help. Can not Find