Mobile Joystick with NEW Input System and Cinemachine - Unity Tutorial

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

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

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

    Instead of making a CameraLook script for overriding the Cinemachine old input system values, use the Cinemachine Input Provider instead it’s much simpler: th-cam.com/video/we4CGmkPQ6Q/w-d-xo.html

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

      im having this error
      Assets\Joystick Pack\Scripts\playercontroller.cs(18,13): error CS0246: The type or namespace name 'Player' could not be found (are you missing a using directive or an assembly reference?

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

      tried some online solutions but didnt work

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

      @@ajayprasad6218 Save your input

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

      Make sure that the thing you are referencing is called Player with the capitalization matched too

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

      @@samyam hey can u send me a link to the input system because i cant find it in assets store, thnx in advance

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

    This tutorial is so much better than the one Unity gives, thank you

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

    Literally, the only tutorial I found about touch control joystick using the new Input system.
    Thank you so much!

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

    This was super helpful just in that I had no idea Samples were a thing. I've been trying to use the touch inputs to make a simple drag and move system for hours and it's honestly just easier to use a transparent joystick over the whole screen. Subscribed, great tutorial!

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

    FINALLY! I need this for my capstone project. Thanks!

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

    OMG FINALLY been searching for someone who makes 3rd person camera with joystick movement T-T you have literally saved my project

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

      Thank you! I have another video on third person controller if that helps (non-joystick):
      th-cam.com/video/ImuCx_XVaEQ/w-d-xo.html

  • @brian.g.716
    @brian.g.716 3 ปีที่แล้ว

    Just came here from your Cinemachine Third Person Controller tutorial and once again, YOU ARE A BEAUTIFUL HUMAN!!! THANK YOU!! :D

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

    I can't understand those 9 peoples who disliked this awesome tutorial. Thank u so much!!!!

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

      Probably a misclick tbh lol

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

    This new input system is amazing! I'd like to credit you once my game is finished uwu

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

      Aw thanks!!

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

    Thanks a lot. Was just looking for Joystick control with New Input System. Very well explained.

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

      Glad you enjoyed!

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

      @@samyam thanks but iam doing for spear it is not rolling it slideing and screen is jumping and strucking plz help me

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

      I’m not sure what you mean

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

      @@samyam iam take spear as a player . I not take capsule as player . When I move with joystick ball is sliding around but not rolling .

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

      I suggest looking at Unity’s Roll a Ball tutorial for rolling a ball here
      learn.unity.com/project/roll-a-ball

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

    thanks samyam, your tuts by far the most pleasing to hear...

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

      i’ll keep ‘em coming! :)

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

    Oh, that looks exactly what I made. The capsule guy with a small cube is my favourite educational character. I also make game dev tutorials and videos and my videos perform fine.

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

    Thank you so much for this video. Spent whole night to find this kind of a tutorial and only found it in the morning XD.

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

    Hey, you are an amazing content creator! I've been trying to figure out how to get cinemachine working with the new input system for like 2 months, but I'm a coding newb, so it was all in vain until this video! I'm so excited to implement this into my main project. Unfortunately, Unity Remote 5 doesn't really work with my phone (some kinda bug that prevents it from recognizing input), so the touch controls didn't work, but because you were so descriptive, and explained everything so well (without being condescending, thank you!!) I was able to work out most of my problems!
    And then you gave a solution to make the player follow the camera! No way!! I'm so thrilled my eyes are bulging out my head, thank you!!

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

      No problem! Glad you enjoyed the content. And it isn't your phone Unity Remote 5 isn't really compatible with the input system so you would have to build it to test it on your phone. Feel free to join my discord if you have any questions discord.gg/SwCKB3Q 🙂

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

    Sometimes the jump button won't except the jump trigger, here's the fix
    change:
    groundedPlayer = controller.isGrounded;
    if ( groundedPlayer && playerVelocity.y < 0 )
    {
    playerVelocity.y = 0f;
    }
    to
    groundedPlayer = controller.isGrounded;
    if ( groundedPlayer && playerVelocity.y < 0 )
    {
    playerVelocity.y = -0.5f; // this makes sure controller.isGrounded is triggered
    }
    Keep up the great work Sam

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

      Thanks! Also make sure the min move distance in the character controller is 0 that can sometimes cause problems if it is not

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

    I love you! I lost my whole day and only you helped me.

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

    Very very helpful. Its been a month to search tutorial like this..

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

    There are many videos showing player movement but this one is like the king of cross-platform and flexibility it has everything. Thank you so much for the video.

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

    Thanks a lot. This is exactly what i wanted. I searched for it a lot. Noy YT recommended this for me.

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

    Thank you very much, it worked very well for my mobile game, I like you :) I hope your youtube channel will improve

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

    thank you! I almost give up doing my game project and then you saved me!! thankss

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

    Oh God I was struggling with the player movement for days, thank you

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

    00:00 - Intro
    00:43 Pre-Start
    03:13 Warnings
    04:16 GUI left joystick
    06:10 GUI right joystick
    06:43 Action Map
    07:32 LS binding and overriding for touch
    07:56 WASD keys
    08:21 Jump
    08:31 RS binding
    08:57 On-Screen Control Mapping
    09:13 Script explaining
    10:34 Binding On-Screen

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

      The RS ON Screen binding is somewhere between 11:00 and 12:30

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

      18:15, starting with cameraLook script

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

    okay now this is the best content and the content i was searching so thank you

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

      Thank you!

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

    Your tutorials are phenomenal! Thank you so much!

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

      Thank you!

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

    Thanks for the video! I was used to the CrossPlatformManager class of old lol, thank you again, incredibly informative and straight to the point.

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

    Wow great timing, I was just looking in to this!

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

    Thanks a lot Samyam. Helped me a lot by simplifying stuff. Although I was using my own custom camera but thinking to use cinemachine.

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

    This tutorial made my life happy very very very very thankful for you

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

    Thank you samyam.

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

    Thank you so much for your tutorials! Really helpful and straight forward

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

    That was cool samyam. You rock

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

    Amazing video. I totally understand now all thanks to you

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

      Thank you!

  • @immigueljoie08
    @immigueljoie08 10 หลายเดือนก่อน

    u saved my life, wahhhhhhh! much love!

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

    Muchas gracias! thanks a lot! i was just needing this!

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

    thank you so mych, this was very helpful in my project

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

    Thank u so much! I had so much trouble with cinemachine but you really helped ^^

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

    Best Tutorial Ever!!!!!!!!!! Thanks a lot for this!!!!!

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

    Awesome tutorial thanks. Btw I think your Euler pronounciation was correct

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

    Thank you for video! Very helpful.

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

    Amazing tutorial. Loved it!

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

    Truly amazing and very helpful!

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

      Thanks!

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

    Thank you for this video, it is very helpful.

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

    Thank you Genius person this helped me with my game.

  • @Bruce.B
    @Bruce.B 4 ปีที่แล้ว

    Lovely tutorial. Thank you ❤️ I will use this for sure

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

    Thank you! First time making a 3D game, and I could not find any tutorial that would help me. AMAZING!

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

    this video is damn awesome, thank you so much

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

    Thank you very much for sharing your knowledge. I subscribe to your channel. Keep it up. Congratulations!

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

    Thank you this help me so much!

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

    Am getting error the type or Namespace name player could not be found are you missing a using directive or an assembly reference can you help?

  • @brian.g.716
    @brian.g.716 3 ปีที่แล้ว +1

    Ok so I went thru this tutorial, 3rd person cinemachine controller, and your mobile swipe tutorial. However I just can't process how to take those swipe controls and apply them to the camera. I like your setup in this video, however, in mobile games, I feel a swipe camera would work better for me. Right now, your touch pad acts like a joystick and if you move and then hold it, it keeps spinning. Much like an analog controller. Anyway you can make a quick tutorial on creating a swipe camera? I'll pay you lol. Thank you!! 😊🤗

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

      I already have my next video recorded, but I’ll put it on my list for a potential video. On the other hand the swipe would work similar to this implementation. They are both Vector2s that measure the delta of the current - previous position. So you can just pipe those values to
      cinemachine instead of the joystick one.

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

    Not sure if anyone else will run into this, but I was trying to get my player to rotate with my left joystick - if it is in the down position, turn around to the camera, for example.
    To do this, in the PlayerController.cs file, in the final if block where rotation is handled, instead, use the below
    float horizontal = movementInput.x;
    float vertical = movementInput.y;
    float angle = Mathf.Atan2(horizontal, vertical) * Mathf.Rad2Deg;
    Quaternion rotation = Quaternion.Euler(new Vector3(transform.localEulerAngles.x, cameraMain.localEulerAngles.y + angle - 90, transform.localEulerAngles.z));
    transform.rotation = Quaternion.Lerp(transform.rotation, rotation, Time.deltaTime * rotationSpeed);

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

    I love it!!!!! it's so useful!!!!!

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

    Thank you very much!

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

    Super cool! Thanks!

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

      Thanks again! :))

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

      Thanks for watching 😄

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

      @@samyam :))

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

    Samyam, nice work on this lecture. I tried using the new Input System on iOS but the On-Screen Stick, was not responsive using the Player Input and OnMove and OnFire (Send Messages Behaviour. Now that I got you test working. I will apply to my game. I sent some support! :) By The way , I am using Unity HUB V3.0.1 and Unity Editor 2021.2.7f1

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

    Great tutorial. I like your voice a lot.

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

    You are good as can get, thanks a lot

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

    You are great!!!

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

    This is pretty weird, but for those who use Unity Remote to test things out for your mobile app, please keep in mind that the New Input System is not supported in Remote yet (it's been 3 years already :/ ). To test your controls. you will need to actually build the app. I found this after 3 hours "fixing" my game...

    • @kzzhk
      @kzzhk 10 หลายเดือนก่อน

      omg tysm😭😭😭 kept wondering what was wrong with my game

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

    AMOGUS
    nice video btw

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

    Thanks a ton! :D

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

    Great tutorial, but is it just me or does someone have following issue as well: when clicking my spacebar or clicking on the right-circle that is responsible for jumping, it seems to not register sometimes. I switched Update() to FixedUpdate() and it still misses some inputs I input into program. Suggestions so the program can catch ALL of my inputs?

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

      Are you using a character controller? Make sure to put the minmovedistance to 0 or else it'll cause you to miss some jumps

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

    lo dificil que es para alguien que no entiende el idioma, aunque al final me funciono; gracias.

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

      Dejame saber si tienes preguntas, tenemos un Discord (yo hablo español) discord.gg/SwCKB3Q

    • @joelchala.
      @joelchala. 3 ปีที่แล้ว

      @@samyam estoy verificando los comentarios y atraves de las respuesta que le das a ello eh logrado solucionar unas que otras cosas.
      gracias

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

    Thanks for great tutorial

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

    im having error with the code
    Assets\Joystick Pack\Scripts\playercontroller.cs(18,13): error CS0246: The type or namespace name 'Player' could not be found (are you missing a using directive or an assembly reference?

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

      Try regenerating the script again (make sure the class and file name are the same), that sometimes fixes the issue.

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

    Good day! Awesome video but i notices that the controls(joysticks) doesn't work on simulator.. how can i make it work there? Thank you

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

      What do you mean by simulator? Do you mean Unity Remote? If so, unfortunately the new input system is not yet supported in Unity Remote

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

      @@samyam ohh i see! Thank you very much! For now I'll just adjust the game resolution thanks for the info! Ur awesome!

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

    Hi!
    I loved your tutorial

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

    Hey Samyam the tutorial is super awesome and very helpful but my onscreen stick is not working .. when I move the onscreen stick the moveInput vector don't change at all it stays at vector2(0,0). please help why this is happening.

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

    Wonderful. Thanks a lot. :)

  • @shazeerrra
    @shazeerrra 6 หลายเดือนก่อน

    Hi ! I have select characters features for my games. Did this tutorial can do for both of my characters since you only show movement for 1 player. Thanks!

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

    Really you are the best thank you!

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

    Girl, u rock

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

      Thanks! 🙂

  • @hk-four-sixteen
    @hk-four-sixteen 2 ปีที่แล้ว

    Thanks for the detailed tutorial... btw, why does the Joystick (left Gamepad) only works on deployed Apk but not on Unity Remote 5?

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

      Input System does not work with Unity Remote

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

    8:35 i suppose you haven't played mobile games at all. No one will use a Stick behaviour to look around the player. It's useful for a gamepad

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

    THANK YOUUUUUUUUUUUU SO MUCH

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

    THANK U SOW MUCH U ARE THE BEST!!!

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

    Why do say that you have made several videos of input system lol, I think I have yet to find a video where you say " this is my first time explaining the new input system " !.
    NVM binding your channel to get my top down shmup controller to work.
    I tried it with the swipe system . It didn't go so well.
    its just too long!
    but this might work but I cannot fit a fire and a joystick button on a portrait screen so i might as well keep it firing all the time and allow the use to focus on movement.
    any suggestions? @samyan?

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

    thank you so mush

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

    11:56 Actually if I'm not missing out some other techinal detail, we definetely need "image" component. Because it's catching the raycast (if raycast target box is selected) and working as a collider for click interaction on UI. I couldn't find any other way around it, if there is please let me know.

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

      Yes you are correct I seem to have misspoken, my bad.

  • @ashishsagar2889
    @ashishsagar2889 6 หลายเดือนก่อน

    Movements are reversed for some reason. Up is down, left is right, etc. pls help thank u

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

    I think if you did an extension of this video with the new Unity 3rd person controller you would get a lot of views and a lot of 💕

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

    Great video(s)! How would I use this with UI Toolkit, either by using UI Toolkit exclusively or the two systems simultaneously. I'm stuck.

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

    I like that !

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

    In your new input system videos, u choose pass through instead of value. What is the difference? I tried to read up on it in their docs and it said something about disambiguation but i didn't understand

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

      I explain the difference here
      th-cam.com/video/yRI44aYLDQs/w-d-xo.html
      Although I mostly use passthrough since Value has been a bit buggy for me, theres not much difference for general used

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

    hello i have an issue when I build for iOS my input "moove" dont work anymore I create arrow but they triggers nothing
    and I have an error after the build about Onmouse
    could you say me how resolve it ?

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

      Try connecting your phone to the computer and enabling debugging. You can use the input debugger to see if values are registering on your phone
      th-cam.com/video/ICh1ZEaVUjc/w-d-xo.html

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

      @@samyam it didnt work :s

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

    Thanks a lot for the tutorial, but I somehow cannot make the joystick move on mobile devices as you did, please help.

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

      Is it not moving? Make sure you set the correct action and are reading that action in your code.
      You can also use the Input Debugger and connect your phone and see the debug as well as the input actions
      th-cam.com/video/ICh1ZEaVUjc/w-d-xo.html

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

    I'm a beginner in Unity. I follow through every steps of this video but my player keeps falling down unless I set the gravity value to 0. But once I set it 0, my player won't jump.
    Can anyone help ?

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

    Its wonderful but the camera movement lacked as we can't put 'look UI image' over other buttons or joystick :(. Please help.

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

      What do you mean by look UI image?

  • @햇밤-j4z
    @햇밤-j4z 3 ปีที่แล้ว

    Thank you, could you also provide a pinch zoom tutorial for the CineMachine Camera?

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

      It’s on my list! In the meanwhile I have a zoom tutorial for cinemachine (desktop)
      th-cam.com/video/PsAbHoB85hM/w-d-xo.html

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

    Im trying to make the Unity 3D Game Kit work with this new input system... But Im stuck... the old ones is like
    m_Jump = Input.GetButton("Jump");
    And I made
    public void OnJump()
    {
    m_Jump = True;
    }
    But he jumps only once? ... help?

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

    The extension does not appear in the top bar of the program ؟

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

    Thanks!

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

      Thank you so much for the donation!

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

      @@samyam that's least I can do. better information than paid courses. I thank you

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

    For some reason OnScreenButton doesn't work on some android devices. Please help!

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

    my iphone can’t detect the touch when i connect it with unity, is there something i should change?

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

    Hi, can you show how to make a "looking around" function without joystick? (like in most mobile games)

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

      You can use swipe detection on the screen
      th-cam.com/video/XUx_QlJpd0M/w-d-xo.html

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

    Great tutorial, thanks for sharing! I spent a lot of time to sort this out.
    I tried to run on my phone but the joystick doesn't work. (It works on Unity using the mouse and the simulator). The buttons work fine. Any thoughts what could be causing this?

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

      Are you running it in Remote? The remote app isn't completely compatible with the new input system. We also have a Discord channel where you can ask in the help channel if that doesn't work discord.gg/bvQEGk7

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

    Dear friends..... Is there any video where i can learn all together (walk, run, jump, sit-down, lay down) for the maximo player??

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

      yes check out maximo videos and animators in unity

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

    In Drag or Swipe Mechanism .There is one problem .The problem is that ,if we stop dragging and keep holding mouse left button then the camera continues rotating.Please provide me appropriate solution.

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

      That's how the joystick works, since the joystick is not in the default, or center position. If you want it to stop when there is no drag then you'd need to override the On Screen Stick script and implement that functionality
      See, in the OnScreenStick script the delta is the current position minus where the finger started being pressed down.
      var delta = position - m_PointerDownPos;

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

    While making a video game I got a wierd error in the console saying that "pointer should have exited all objects before being removed "
    I am using a virtual joystick in my game and when I try to move my joystick in play mode it shows that error
    Please help me to fix it

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

      There seems to be a bug report for a similar issue that was fixed in the Input System version 1.1-preview.3. Try upgrading the Input System package if you haven't already:
      issuetracker.unity3d.com/issues/new-input-system-simulated-touch-in-editor-doesnt-work#comments

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

      @@samyam thanks but my input system is in the latest version

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

      What version of Unity are you in and what’s the input system version you have? You can try posting on the Unity forum with the bug. Here’s an existing forum that might help
      forum.unity.com/threads/pointer-should-have-exited-all-objects-error.884293/

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

      @@samyam I am using the latest version
      Now I created a new project
      Used new input system and everything went smooth and no errors were there