Set RockSim parachute length to radius
This commit is contained in:
parent
85bac6484e
commit
2f81d26216
@ -81,6 +81,7 @@ class ParachuteHandler extends RecoveryDeviceHandler<Parachute> {
|
|||||||
packed = chute.getDiameter() * 0.025;
|
packed = chute.getDiameter() * 0.025;
|
||||||
}
|
}
|
||||||
chute.setRadius(packed);
|
chute.setRadius(packed);
|
||||||
|
chute.setLength(packed);
|
||||||
}
|
}
|
||||||
if (RockSimCommonConstants.SHROUD_LINE_COUNT.equals(element)) {
|
if (RockSimCommonConstants.SHROUD_LINE_COUNT.equals(element)) {
|
||||||
chute.setLineCount(Math.max(0, Integer.parseInt(content)));
|
chute.setLineCount(Math.max(0, Integer.parseInt(content)));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user