Esempio n. 1
0
 /**
  * Steps the dynamics scene using the supplied information.
  * @param {UpdateArgs} updateArgs
  */
 onUpdate(updateArgs) {
     // Args: timeStep, maximum number of sub-steps.
     this.dynamicsWorld.stepSimulation(updateArgs.deltaTime, 2);
 }