Is it possible to use a Xbox controller on PlayCanvas

All i want to know is can you use a xbox controller on a windows computer and use this for playcanvas in testing your games kind of thing because i’m thinking about using xbox controls for my new sonic engine.

Hi @Drayden_Little,

Yes, definitely, make sure your xbox controller is connected to your windows machine and PlayCanvas will pick input up automatically.

Here is a very simple example to check if it works for you:

https://playcanvas.github.io/#/input/gamepad

And a more complex one that supports gamepad input as well:

https://playcanvas.github.io/#/camera/first-person

yes i knew this worked on ue4 and ue5 because of the example video i posted for sonic physics

Don’t forget to enable gamepad input in the project settings:

1 Like