playMaker

Author Topic: How to implement a joystick for 3D mobile games  (Read 1225 times)

playmakertester

  • Full Member
  • ***
  • Posts: 211
How to implement a joystick for 3D mobile games
« on: November 02, 2020, 12:22:56 AM »
We are developing a 3D mobile game.
I'm trying to make a joystick that only needs to move on the X and Z axes in the game.

If you have a good combination of actions, please let me know.
If you have an example of a good combination of actions, please let me know.

playmakertester

  • Full Member
  • ***
  • Posts: 211
Re: How to implement a joystick for 3D mobile games
« Reply #1 on: November 02, 2020, 05:04:09 AM »
Hello.

I found this article.
https://hutonggames.com/playmakerforum/index.php?topic=22874.0

I tried the UI joystick, but it doesn't seem to work as is for games where the camera follows the player.

Please tell me what I need to fix in order to use the ecosystem UI Joystick in mobile games that the camera follows the player.

playmakertester

  • Full Member
  • ***
  • Posts: 211
Re: How to implement a joystick for 3D mobile games
« Reply #2 on: November 02, 2020, 05:21:09 AM »
The problem with this UI joystick is when you change the angle of the Player.

Now, when the player finds the Enemy, the player will face the Enemy at Look At.
As a result, when the angle of the player changes, the UI joystick does not work as expected.

Please give me some advice.

playmakertester

  • Full Member
  • ***
  • Posts: 211
Re: How to implement a joystick for 3D mobile games[SLOVED]
« Reply #3 on: November 02, 2020, 05:48:22 AM »
The combination of "Set Vector3 XYZ" and "Tranlate Advanced" allows me to do what I want to do.

Thanks.