layer.findShape( "head" ).attachModel( FixedJoint.create( body ) );
for( int n = 0; n <= 1; n++ ) {
String prefix = prefixes[ n ];
upperArm[ n ] = (Sprite) layer.findShape( prefix + "upper_arm" );
lowerArm[ n ] = (Sprite) layer.findShape( prefix + "lower_arm" );
upperArm[ n ].attachModel( new RevoluteJoint( body, 0, -0.333 ) );
lowerArm[ n ].attachModel( new RevoluteJoint( upperArm[ n ], 0, -0.333 ) );
layer.findShape( prefix + "fist" ).attachModel( FixedJoint.create( lowerArm[ n ] ) );
upperLeg[ n ] = (Sprite) layer.findShape( prefix + "upper_leg" );
lowerLeg[ n ] = (Sprite) layer.findShape( prefix + "lower_leg" );
foot[ n ] = (Sprite) layer.findShape( prefix + "foot" );
upperLeg[ n ].attachModel( new RevoluteJoint( body, 0, -0.375 ) );
lowerLeg[ n ].attachModel( new RevoluteJoint( upperLeg[ n ], 0, -0.375 ) );
foot[ n ].attachModel( FixedJoint.create( lowerLeg[ n ] ) );
}
Camera.current.jumpTo( body );
body.angle = gr15;
}