How to fork default touch controller

I want to use the default touch controller for a custom character.
What would be the simplest way to fork the touch controller and run custom functions for move forward, move back, etc.?

1 Like

Assuming your character does not use a humanoid, I’d recommend forking the ControlModule and adjust it to work with your character’s movement system rather than implementing all the functions of the DynamicThumbstick modules into your own code.

1 Like

How exactly would I go about doing this? My character does not use a Humanoid.

Exactly. You should fork the ControlModule and change the Humanoid:Move to something that interacts with your custom character.

Those instructions are too vague, I do not know what to do. please walk me through the process.

I’ve never done this before, but I’d assume to copy the player module and put it in StarterPlayerScripts. Then, in the ControlModule, on line #412, you can change this to your custom character’s relative movement function:


However, it might be more complicated if you need to change the humanoid.

1 Like

Alright, this is helpful. I’m making some progress. I’ll update the post when I get it working.

Thanks a lot!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.