I'm using an AnalogOnScreenControl to control a Sprite. It works pretty cool like in the AndEngineExamples, but when I pop a new Scene like Level Completed during using the controller and then I hide that Scene, the controller's Knob is stucked in the last position I used it to move my object. And it keeps moving my object on starting the next level but I'm not even touching the controller. How can I reset it's Knob's position?
I tried these codes and they aren't working at all. Maybe I did something wrong..
Using java Syntax Highlighting
1. analogOnScreenControl.reset();
2. analogOnScreenControl.getControlKnob().reset();
3. analogOnScreenControl.getControlKnob().setInitialPosition();
analogOnScreenControl.refreshControlKnobPosition();
Parsed in 0.029 seconds, using
GeSHi 1.0.8.4
None of these works.
Any idea welcomed!
Thanks a lot!
R