News: Enjoy our Christmas offer 30% off on our latest package Tower Defense Level Kit http://u3d.as/m7h

  • October 18, 2018, 02:52:36 AM

Login with username, password and session length

Author Topic: joystic move on local axis  (Read 460 times)

Offline zeyad

  • Newbie
  • *
  • Posts: 2
joystic move on local axis
« on: October 15, 2017, 05:01:56 PM »
Hi
I would like to make the joystick move the player along the
local axis, not the global axis
how can I do that?

Offline Nicolas

  • Administrator
  • Hero Member
  • *****
  • Posts: 792
Re: joystic move on local axis
« Reply #1 on: October 16, 2017, 01:01:10 AM »
Hi,

How do you use our joystick :
-direction Action ?
-Event ?


Offline zeyad

  • Newbie
  • *
  • Posts: 2
Re: joystic move on local axis
« Reply #2 on: October 23, 2017, 05:09:23 PM »
Hi

my game is a third person RPG kind of game
i use direction action and i enabled camera tracking with the smooth follow, the problem i received :-X :-X is that the controls are very bad
and that was because when the player goes back in the level the camera will rotate around him and show his back and this is what i wanted but when the player wants to move the character forward then he have to move the joystick to the back
 
and when the character is facing the x-axis if he wants to move forward then he will need to move the joystick to the right and this is very confusing to the players
the behavior am looking for is that when the player moves the joystick forward the character will go forward regardless of the direction he is looking at in the world axis
is there any way l could make the joystick affect the local axis instead of the global axis

Offline Nicolas

  • Administrator
  • Hero Member
  • *****
  • Posts: 792
Re: joystic move on local axis
« Reply #3 on: October 25, 2017, 08:12:28 AM »
Hi,

Can you post a screenshot of your joystick setting please, (send me it by mail)