RigidBodyControl stop moving

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).

Have you tried updating to 3.1?

Yes, but 3.1 works buggy. Spatials disappears. Animated models are showed with mistakes.

You should provide some more information about that, such as pictures. “buggy” is not a good description of a problem.

Hi 8Keep123, animations doesn’t show correctly. With 3.1 alpha i’ve problem with nifty gui too.