angularDragCoefficient = pFire.getAngularDragCoefficient();
angularDragArea = pFire.getAngularDragArea();
}
public PhysicsFireable getFireable() {
PhysicsFireable pFire = null;
try {
pFire = (PhysicsFireable) fireableClass.newInstance();
pFire.setWarhead(warhead);
} catch (InstantiationException ie) {
ie.printStackTrace();
} catch (IllegalAccessException iae) {
iae.printStackTrace();
}
pFire.setLocalTranslation(translation);
pFire.setLocalRotation(rotation);
pFire.setStabilizationForce(stabilizationForce);
pFire.setStabilizationSpeed(stabilizationSpeed);
pFire.setLinearDragCoefficient(linearDragCoefficient);
pFire.setLinearDragArea(linearDragArea);
pFire.setAngularDragCoefficient(angularDragCoefficient);
pFire.setAngularDragArea(angularDragArea);
return pFire;
}