Searched refs:maxHorizontalSpeed (Results 1 – 1 of 1) sorted by relevance
163 float maxHorizontalSpeed = MAX_GROUND_HORIZONTAL_SPEED; in move() local168 maxHorizontalSpeed = MAX_AIR_HORIZONTAL_SPEED; in move()176 if (newSpeed > maxHorizontalSpeed) { in move()177 if (Math.abs(currentSpeed) < maxHorizontalSpeed) { in move()178 currentSpeed = maxHorizontalSpeed * Utils.sign(impulse.x); in move()194 if (Math.abs(currentSpeed) > maxHorizontalSpeed) { in move()199 } else if (Math.abs(postDragSpeed) < maxHorizontalSpeed) { in move()200 postDragSpeed = maxHorizontalSpeed * Utils.sign(postDragSpeed); in move()