(Solved) Multitouch Joystick with THNK

How do I…

Make multitouch joystick work for each client using THNK?

What is the expected result

Joystick should work for each client.

What is the actual result

It simulating movement for all players.

More Info

It’s happening because I can’t find any condition to check which client want to move with their joystick. Can anyone help me on this, Thanks in advance.

Solved!! I was dumb hehe

Client Code

Sending message to the server with joystick’s angle and force as extra data.

Server Code

Making sure to pick player in the variable whenever a player join, in order to use it for each client/player.

Simulate player movement.

Note: Dont use Multitouch Controller Mapper behaviors.

2 Likes