code: public int getTotalRigidPoints() {
  		if( rigids == null )
  			return 0;
  
  		int total = 0;
  		for (int i = 0; i < rigids.length; i++) {
  			total += rigids[i].points.length;
  		}
  		return total;
  	}
docs: Returns total number of points associated with rigid objects.