Issue with joystick

Hi,Im facing in joystick movment like when i drag the button forward then its not moving in forward direction its moving in backward direction.Can anyone help me .Thanks

Editor:

https://playcanvas.com/editor/scene/1588993

Hi @regeme,

I think your issue is most likely the way you calculate your movement vector. Here is a helpful forum post on how to calculate that vector when using a virtual joystick, hope that helps:

1 Like