* This method moves each child shape of a compound shape by the given vector
* @param vector
*/
public static void shiftCompoundShapeContents(CompoundCollisionShape compoundShape, Vector3f vector) {
for (Iterator<ChildCollisionShape> it = new LinkedList(compoundShape.getChildren()).iterator(); it.hasNext();) {
ChildCollisionShape childCollisionShape = it.next();
CollisionShape child = childCollisionShape.shape;
Vector3f location = childCollisionShape.location;
Matrix3f rotation = childCollisionShape.rotation;
compoundShape.removeChildShape(child);
compoundShape.addChildShape(child, location.add(vector), rotation);