How to make TouchThumbstick controller control custom character

How can use the default TouchThumbstick controller to control my own character?

1 Like

can you give us more detail of what you’re problem/question is?

How… can I make a script, that would allow me to use the default-mobile-character-controller to control my own character??

you can just slap the custom character into starterplayer or change the character the player is moving to your character model (local script, game.Players.LocalPlayer.Character)

Doesn’t Roblox already does that automatically? I’ve already worked with custom-characters before and whenever i played with them, The Default Controls were there.

1 Like

That will not work for me, I have a custom scripted character that is not a humanoid. I need access to the controller that Roblox uses.

I think you get it by doing

Player.PlayerScripts.PlayerModule:GetController()

but I don’t know what to do from there

No. Roblox doesn’t have magical code to control my custom character.

Well, I guess you would need to script your own Character controller then. There’s nothing else you could do besides that to make it work.


how do I use this

just slap the custom character to game.StarterPlayer

I think he’s developing a custom character controller which is not a humanoid so it doesn’t work on mobile and he’s trying to figure out

you may need to WaitForChild when getting PlayerScripts.PlayerModule.ControlModule

local controlModule = require(game.Players.LocalPlayer.PlayerScripts.PlayerModule.ControlModule)

while true do
    local moveVector = controlModule:GetMoveVector()
    print(moveVector)
    task.wait(1)
end