docs: function generateDebugBody( body ) {
  
  		var frameUnit           = 2;// In pixels
  		var debugBody           = Crafty.e( RenderingMode );
          var debugBodyBody       = Crafty.e( RenderingMode + ', Color' );
          var debugBodyTopFrame   = Crafty.e( RenderingMode + ', Color' );
  		var debugBodyRightFrame = Crafty.e( RenderingMode + ', Color' );
          var debugBodyDownFrame  = Crafty.e( RenderingMode + ', Color' );
          var debugBodyLeftFrame  = Crafty.e( RenderingMode + ', Color' );
  
  		debugBody.attach( debugBodyBody );
  		debugBody.attach( debugBodyTopFrame );
  		debugBody.attach( debugBodyRightFrame );
  		debugBody.attach( debugBodyDownFrame );
  		debugBody.attach( debugBodyLeftFrame );
  
  		// TODO cleaner code.
  		var attr = {
  			x: body.vertices[ 0 ].x,
  			y: body.vertices[ 0 ].y,
  			w: body.vertices[ 0 ].x,
  			h: body.vertices[ 0 ].y
  		};
  
  		//We iterate to have a square shape for circles and polygons/
  		for ( var i = 1; i < body.vertices.length; i++ ) {
  			if ( body.vertices[ i ].x < attr.x ) {
  				attr.x = body.vertices[ i ].x;
  			}
  
  			if ( body.vertices[ i ].y < attr.y ) {
  				attr.y = body.vertices[ i ].y;
  			}
  
  			if ( body.vertices[ i ].x > attr.w ) {
  				attr.w = body.vertices[ i ].x;
  			}
  
  			if ( body.vertices[ i ].y > attr.h ) {
  				attr.h = body.vertices[ i ].y;
  			}
  		}
  
  		debugBody.attr( {
  			x: attr.x,
  			y: attr.y,
  			w: Math.abs( attr.w - attr.x ),
  			h: Math.abs( attr.h - attr.y )
  		} );
  
  		debugBody.origin( 'center' );
  
  		debugBodyBody.color( 'blue' );
  		debugBodyBody.alpha = 0.5;
  		debugBodyBody.z = debugBody._z + 1;
  		debugBodyBody.origin( 'center' );
  
  		debugBodyTopFrame.color( 'blue' );
  		debugBodyTopFrame.h = frameUnit;
  		debugBodyTopFrame.z = debugBody._z + 1;
  		debugBodyTopFrame.origin( 'center' );
  
  		debugBodyRightFrame.color( 'blue' );
  		debugBodyRightFrame.x = debugBodyBody._x + ( debugBodyBody._w - frameUnit );
  		debugBodyRightFrame.w = frameUnit;
  		debugBodyRightFrame.z = debugBody._z + 1;
  		debugBodyRightFrame.origin( 'center' );
  
  		debugBodyDownFrame.color( 'blue' );
  		debugBodyDownFrame.y = debugBodyBody._y + ( debugBodyBody._h - frameUnit );
  		debugBodyDownFrame.h = frameUnit;
  		debugBodyDownFrame.z = debugBody._z + 1;
  		debugBodyDownFrame.origin( 'center' );
  
  		debugBodyLeftFrame.color( 'blue' );
  		debugBodyLeftFrame.w = frameUnit;
  		debugBodyLeftFrame.z = debugBody._z + 1;
  		debugBodyLeftFrame.origin( 'center' );
  
  		return debugBody;
  	}