How To Use A Playstation Controller In Unreal Engine 5 | Tutorial | UE5

Поділитися
Вставка
  • Опубліковано 17 сер 2024
  • Straight forward method for being able to use your playstation controllers in unreal engine. Thanks for watching!
  • Ігри

КОМЕНТАРІ • 72

  • @RealityTwoGames
    @RealityTwoGames  8 місяців тому +3

    Thanks for watching! Definitely SUBSCRIBE!

  • @Mab0r0shi
    @Mab0r0shi 6 днів тому

    Finally, a good and easy PS4 controller tutorial video!

  • @kamasireborn
    @kamasireborn 7 місяців тому +16

    Doing it with a PS5, if the inputs are not registering when in the IMC_Default, you need to restart the engine. Then it should work.

  • @kamasireborn
    @kamasireborn 7 місяців тому +9

    Thanks a lot for the video, really appreciated man!
    Edit: Don't know if it's the case of PS4 too, but if the PS5 controller is not plugged in the moment you open the Engine, it won't work. So if while you,re working you unplug it then plug it back in, it will require you to relaunch the engine.

    • @RealityTwoGames
      @RealityTwoGames  7 місяців тому +1

      No problem, brother! FYI, i have another video on getting the D-PAD controls to work. It's in my souls like series Playlist. :)

    • @pomegranate8532
      @pomegranate8532 2 місяці тому +1

      thank you so much i was so confused on why it didn't work

  • @ViUnGames
    @ViUnGames 2 місяці тому +2

    Fantastic tutorial. No bullshit, straight to the point, and it worked like a charm. Thanks a bunch.

  • @Kantor3D
    @Kantor3D 7 місяців тому +3

    Worked like a charm, thank you!

  • @shotarcherz1690
    @shotarcherz1690 23 дні тому

    This is very hard to do with my Flydigi Apex 4 which has a dongle that can do xinput, dinput and cable xinput and dinput as well as bluetooth

  • @SébastienMartin-o8b
    @SébastienMartin-o8b День тому

    Working on the Input Mapping context but not working in game it's wierd.
    Do you need to setup something per controller ?

  • @christopherfoster6105
    @christopherfoster6105 19 днів тому

    I'm having the issue where my character is only moving in one direction. I'm using a ps5 controller and it setting all the mappings to one axis

  • @nicolasnguyen1611
    @nicolasnguyen1611 3 місяці тому +1

    Thank you for the video, it was helpful. Do you have experience with force feedback on ps4/5 controllers? I've searched and haven't found anything useful about it.

    • @jrod1577
      @jrod1577 6 днів тому

      I too am looking for this.

  • @JustJoshinYouBro
    @JustJoshinYouBro 3 місяці тому +1

    Awesome man I appreciate the hell out of you for this. Would you know how I could lock the upperbody to the camera angle. So if I wanted my character to go backward instead of turning around he actually just walks backwards and same with moving side to side?

    • @BeinIan
      @BeinIan Місяць тому

      In your character blueprint, search for "Orient Rotation to Movement" in the details panel and uncheck the box :)
      Edit: Almost forgot, you also have to set "Use Controller Desired Rotation" to true.

  • @jaumevila8722
    @jaumevila8722 6 місяців тому +2

    After check rawinput plugin and restart unreal engine editor I can't see the option 'Raw Input' in my project settings. Tried to close and open unreal but still can't see it.
    Thanks in advance & the video!

    • @RealityTwoGames
      @RealityTwoGames  6 місяців тому

      Hmmmm. I've not seen this. Would you happen to be using a Mac?

    • @glittergamer765
      @glittergamer765 6 місяців тому

      ​@@RealityTwoGames I'm using Windows 11, and I also have this problem

    • @glittergamer765
      @glittergamer765 6 місяців тому

      I found the solution! You have to go into Plugins(underneath the Settings Tab) and tick the box for the "Windows RawInput"

  • @christopherarendt3531
    @christopherarendt3531 2 місяці тому +1

    If I'm going through all this to set up for a specific hardware ID, will everyone else have the same hardware ID? Or how will my game understand all other players using other dualsense controllers that I don't own? Or other forms of controllers? Isn't there a better, more generic way?

    • @RealityTwoGames
      @RealityTwoGames  Місяць тому +1

      Good question. I'm actually not too sure on this. I'd have to look into it.

  • @joshuacadogan5174
    @joshuacadogan5174 6 місяців тому +2

    Hi thanks for the tutorial, I am having trouble. My ps5 controller seems to be putting in a constant input so my character wont stop walking sideways.

    • @RealityTwoGames
      @RealityTwoGames  6 місяців тому

      You have to disable all the inputs you aren't using.

    • @QuesoGr7
      @QuesoGr7 5 місяців тому

      @@RealityTwoGames
      The inputs or the indexes?

    • @BeinIan
      @BeinIan Місяць тому

      In the Axis Properties sections you may need to check the "Gamepad Stick" checkbox. If it's set to false then an untouched stick will be returning a value of 0.5 instead of 0, because the range is from 0 to 1 instead of -1 to 1.

  • @tabbianbg6881
    @tabbianbg6881 3 місяці тому

    The inputs for look and move are normal but the jump button is set to circle on ps4 controller and I can’t change it to x any help with what I’m doing wrong

  • @ahmadjadallah2811
    @ahmadjadallah2811 7 днів тому

    Will this work for my end users playing a shipping build with their own controllers? Or does it only work for me as a developer in my Unreal Engine Editor?

    • @Daronchic
      @Daronchic День тому

      Yes, it should. All my IDs match exactly, so I think they’re the same for everyone.

  • @s.v.midnigth
    @s.v.midnigth 6 місяців тому +2

    Thanks dude. That awesome

  • @nessieloch5564
    @nessieloch5564 4 місяці тому

    I have a question but its not related to this video at all. Its a bit complicated but...
    Do you know how to use a gyroscope of a ps5 controller into unreal ? in order to for example control an object....
    I find no topic on this :(

  • @artorias6321
    @artorias6321 5 місяців тому +2

    thanks so much my man!

  • @nessieloch5564
    @nessieloch5564 5 місяців тому +1

    but one day i just connected my ps5 controller with the app ds4 and it works directly in unreal

  • @Misterred-GW2
    @Misterred-GW2 3 місяці тому +1

    Thank you very much!

  • @AdenDurham
    @AdenDurham Місяць тому +2

    does anyone know how to look at the ids with windows 11?

    • @bailster15psn14
      @bailster15psn14 Місяць тому

      ua-cam.com/video/bW6GHPvfsRQ/v-deo.html

    • @RealityTwoGames
      @RealityTwoGames  Місяць тому

      Not too sure on that one 😞

    • @muntasirdawlut
      @muntasirdawlut Місяць тому +2

      click on the search bar -> search for settings -> on your left of the settings window select bluetooth & devices -> Click on devices on your right -> then on your right scroll to the bottom -> click on more devices and printer settings -> a window shall open and you can follow along with the tutorial

    • @julawitkowska8553
      @julawitkowska8553 12 днів тому

      @@muntasirdawlut thank you so much!!!

  • @luckycogstudios
    @luckycogstudios 2 місяці тому +1

    Is this the recommended way to use Playstation controllers with UE5?

    • @RealityTwoGames
      @RealityTwoGames  Місяць тому

      Hmmmm. Not sure. It's the only way I'm aware of at the moment.

  • @berniemovlab8323
    @berniemovlab8323 6 місяців тому +1

    Great Info Thank You :)

  • @rhiku117
    @rhiku117 4 місяці тому

    Does this work for packaged game like controller support for full game? Or just in unreal?

  • @lemoncitronne477
    @lemoncitronne477 2 місяці тому +1

    Thank you!

  • @QuesoGr7
    @QuesoGr7 5 місяців тому +1

    So for me, on the part where you click on "select the key value", it always selects "GenericUSBController 4" without doing anything on the controller. And when I try to play it, I can only move with the right stick and nothing else. Any idea what might have went wrong?

    • @RealityTwoGames
      @RealityTwoGames  5 місяців тому

      Try restarting the engine. Otherwise one of your other inputs may not be disabled.

    • @QuesoGr7
      @QuesoGr7 5 місяців тому

      @@RealityTwoGames
      Well now nothing happenes even tho I only enabled index 0-3 like you said. No idea what's going on...

    • @QuesoGr7
      @QuesoGr7 5 місяців тому

      Also, do you have DS4Windows or anything running?

    • @RealityTwoGames
      @RealityTwoGames  5 місяців тому

      i don't. are you using a ps4c controller? or a ps5 controller?@@QuesoGr7

    • @QuesoGr7
      @QuesoGr7 5 місяців тому

      @@RealityTwoGames
      PS4

  • @nessieloch5564
    @nessieloch5564 5 місяців тому +1

    please can you do the tutorial for ps5

  • @IronSevenX
    @IronSevenX 8 місяців тому +1

    I tried this with a PS5 controller, and it didn't work. The only way I can get my pc to read my controller inputs at all is through Steam, or DS4 Windows to emulate an Xbox controller.

    • @RealityTwoGames
      @RealityTwoGames  8 місяців тому +1

      Hmmmm. Have you tried restarting unreal? In my first attempt, it didn't work until I restarted after adding the controller configuration. If so, it could be the axis values aren't correct. The easiest way to know if you're getting any input at all would be to check the jump button and see if that one works. The movement and look Inputs may just take some tweaking in the project settings.

    • @IronSevenX
      @IronSevenX 8 місяців тому

      @RealityTwoGames Oof, this really weird thing happens where my pc tries to use my controller's input jack as a speaker by default instead of as a controller whenever I plug it in. It's rare, but annoying, and when it happens, even steam can't see my controller 😂 Thanks for getting back to me! 😁

    • @RealityTwoGames
      @RealityTwoGames  8 місяців тому +1

      Ahhhh weird lol so you got it working? And no problem!

    • @IronSevenX
      @IronSevenX 8 місяців тому +1

      @RealityTwoGames I'll give it a try lol I'm in a dnd sesh right now 😂 but it should. It starts behaving like it should once I correct this 👍
      Edit: It definitely worked! Thanks, man! This is pretty awesome!

    • @RealityTwoGames
      @RealityTwoGames  8 місяців тому +1

      That's awesome! Glad it worked!

  • @mansourjaber7450
    @mansourjaber7450 6 місяців тому +1

    thanks

  • @denischetyrin6980
    @denischetyrin6980 Місяць тому +1

    xD it works