/** * we update the input controllers and some physic object if needed, then we update the physics * world and call updateGeometricstate() which happens in super.update(). */ @Override public void update(float tpf) { input.update(tpf); // swing.update(); if (movementInput.isEnabled()) { movementInput.update(tpf); } super.update(tpf); }