Mars Marine - Thumbstick Aiming

We want to support gamepads in Mars Marine. So in this lesson, we cover setting up the thumbstick aiming!

Are you following this section with the gamepad? It would be great to hear!

If you are super keen on all the nitty-gritty math details, Ben’s upcoming Math for Games course is something you should be checking out!

Post any questions relating to this lecture below!


I’m having a hard time using a Ps4 controller. When using an Xbox one controller everything works fine for the left thumb stick but not for the right thumb stick. It is a new controller so i’m not sure why.

1 Like

PS4 Controllers don’t typically work on PC(drivers and all that) you can download a free program called DS4Windows and your PS4 controller will work now. Hope this helps :grinning:

Exact same issue for me. Hoping this doesn’t screw me up moving forward for the resat of the project.

Edit: it is working now, I did not realize at this point in the lesson we weren’t yet supposed to be able to rotate. Not really clear in the videos, but all good.

I don’t own a ps4 or xbox one controller, but i own a nintendo switch. Does this work with the Nintendo Switch controllers?