Beispiel #1
0
 public static void Start(double dt)
 {
     agx.agxSWIG.init();
     sim_Instance = new agxSDK.Simulation();                             //Initialize the simulation
     sim_Instance.setUniformGravity(new agx.Vec3(0, -9.80665f, 0));      //set gravity in Y direction
     sim_Instance.getDynamicsSystem().getTimeGovernor().setTimeStep(dt); // set timestep
 }