private void drawRotAcclCurve() { float percentTowardsMax = this.rotationalAcc / MAX_ROT_ACCL; float endAngle = directionFacing + (percentTowardsMax * (Mathf.PI / 2)); accelCurveDrawer.drawCurve(numEdges, directionFacing, endAngle, 0.2f); }
private void drawRotVeloCurve() { float percentTowardsMax = this.rotationalVelo / MAX_ROT_VELO; float endAngle = directionFacing + (percentTowardsMax * (Mathf.PI / 2)); velocityCurveDrawer.drawCurve(numEdges, directionFacing, endAngle, 0.3f); }