示例#1
0
 /**
  * updates the physics space, uses maxSteps<br>
  *
  * @param time the current time value
  * @param maxSteps
  */
 public void update(float time, int maxSteps) {
   //        if (getDynamicsWorld() == null) {
   //            return;
   //        }
   // step simulation
   stepSimulation(physicsSpaceId, time, maxSteps, accuracy);
 }