Assign underlyingShape in constructor
@@ -37,6 +37,7 @@ public BulletCompoundShape() {
private BulletCompoundShape(CompoundShape compoundShape) {
this.compoundShape = compoundShape;
+ underlyingShape = compoundShape;
childList = new ArrayList<>();
}
