Set RockSim parachute length to radius

This commit is contained in:
SiboVG 2023-12-27 19:54:25 +01:00
parent 85bac6484e
commit 2f81d26216

View File

@ -81,6 +81,7 @@ class ParachuteHandler extends RecoveryDeviceHandler<Parachute> {
packed = chute.getDiameter() * 0.025;
}
chute.setRadius(packed);
chute.setLength(packed);
}
if (RockSimCommonConstants.SHROUD_LINE_COUNT.equals(element)) {
chute.setLineCount(Math.max(0, Integer.parseInt(content)));