When I move physical objects with android, they randomly stop moving . I tried with activate(), .setSleepingThresholds(0, 0), ecc… the same code works fine on desktop.
example
public void simpleUpdate(float tpf) {
rigidbody.setLinearVelocity(new Vector3f(this.getSensox()*this.getSpeed(),0f,0f));
if (!rigidbody.isActive()) {
rigidbody.activate();
}
}
Can anyone help me? Is it an android bug (JME 3.0).