8182838485868788
this.position = position; this.oldPosition = oldPosition; this.force = new Vector2(); this.velocity = velocity; this.density = Constants.DENSITY_OFFSET; theSolver = new VerletSolver(0.01f); updatePressure(); }