Ejemplo n.º 1
0
 public synchronized void start(
     PhysicsParameters parameters, Options options, WorldDescription world)
     throws RemoteException {
   PhysicsParameters.set(parameters);
   PhysicsFactory.getOptions().set(options);
   simulation = PhysicsFactory.createSimulator();
   simulation.setWorld(world);
 }
 public void main() {
   PhysicsFactory.addDefaultFactory("Sticky");
   PhysicsParameters.get().setResolutionFactor(1);
   super.main();
 }