Package com.badlogic.gdx.physics.box2d

Examples of com.badlogic.gdx.physics.box2d.World.step()


    final float stepLength = this.mTimeStep;
   
    int stepsAllowed = this.mMaximumStepsPerUpdate;
   
    while(this.mSecondsElapsedAccumulator >= stepLength && stepsAllowed > 0) {
      world.step(stepLength, velocityIterations, positionIterations);
      this.mSecondsElapsedAccumulator -= stepLength;
      stepsAllowed--;
    }
   
    this.mPhysicsConnectorManager.onUpdate(pSecondsElapsed);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.