text: class Link{
      constructor(bodyA,bodyB){
         var lastLink = bodyA.body.bodies.length-2
         this.link = Constraint.create({
             bodyA:bodyA.body.bodies[lastLink],
             pointA:{x:0,y:0},
             bodyB:bodyB.body,
             pointB:{x:0,y:0},
             length:10,
             stiffness:0.5
          
  
          
  
  
  
         }) 
         World.add(world,this.link)
  
          
      }
  
  }