Esempio n. 1
0
 public PhysXSimulator()
 {
     CreateCoreAndScene(out _wrappedCore, out _wrappedScene);
     Configurator = new SimulatorConfigurator(this);
     Queries = new SimulatorQueries(this);
     ActorsFactory = new SimulatorRigidBodyFactory(this);
     ConstraintsFactory = new SimulatorConstraintsFactory(this);
 }
Esempio n. 2
0
 public PhysXSimulator()
 {
     CreateCoreAndScene(out _wrappedCore, out _wrappedScene);
     Configurator       = new SimulatorConfigurator(this);
     Queries            = new SimulatorQueries(this);
     ActorsFactory      = new SimulatorRigidBodyFactory(this);
     ConstraintsFactory = new SimulatorConstraintsFactory(this);
 }
Esempio n. 3
0
        public DigitalRuneSimulator()
        {
            _wrappedSimulation = new Simulation();
            ((MaterialPropertyCombiner)_wrappedSimulation.Settings.MaterialPropertyCombiner).RestitutionMode = MaterialPropertyCombiner.Mode.ArithmeticMean;
            ((MaterialPropertyCombiner)_wrappedSimulation.Settings.MaterialPropertyCombiner).FrictionMode    = MaterialPropertyCombiner.Mode.ArithmeticMean;
            _wrappedSimulation.ForceEffects.Add(new Damping());

            Configurator       = new SimulatorConfigurator(this);
            Queries            = new SimulatorQueries(this);
            ActorsFactory      = new SimulatorRigidBodyFactory(this);
            ConstraintsFactory = new SimulatorConstraintsFactory(this);
        }
Esempio n. 4
0
        public DigitalRuneSimulator()
        {
            _wrappedSimulation = new Simulation();
            ((MaterialPropertyCombiner)_wrappedSimulation.Settings.MaterialPropertyCombiner).RestitutionMode = MaterialPropertyCombiner.Mode.ArithmeticMean;
            ((MaterialPropertyCombiner)_wrappedSimulation.Settings.MaterialPropertyCombiner).FrictionMode = MaterialPropertyCombiner.Mode.ArithmeticMean;            
            _wrappedSimulation.ForceEffects.Add(new Damping());

            Configurator = new SimulatorConfigurator(this);
            Queries = new SimulatorQueries(this);
            ActorsFactory = new SimulatorRigidBodyFactory(this);
            ConstraintsFactory = new SimulatorConstraintsFactory(this);
        }