1
\$\begingroup\$

I'm using SimpleGestureDetector from the libgdx-users Wiki as my InputProcessor. I set it in the created() method:

Gdx.input.setInputProcess(new SimpleDirectionGestureDetector(charController));

charController is my class which implements the DirectionListener interface defined in the SimpleDirectionGestureDetector class and it is responsible for moving the player character. However the character doesn't change direction when I'm performing a fling action in any direction. I've checked and the fling() method in the SimpleDirectionGesture class doesn't get called and I have no idea why, since everything seems good. What am I doing wrong?

\$\endgroup\$
1
  • \$\begingroup\$ the users wiki is outdated \$\endgroup\$
    – Matsemann
    Commented Dec 7, 2012 at 17:17

1 Answer 1

0
\$\begingroup\$

Hope this will help you. If not - let me know, maybe I will make small test app for you.

\$\endgroup\$
0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .