code: function () {
      var body = this.body;
      var el = this.el;
      el.setAttribute('position', body.position);
      el.setAttribute('rotation', {
        x: deg(body.quaternion.x),
        y: deg(body.quaternion.y),
        z: deg(body.quaternion.z)
      });
    }
docs: Copy CANNON rigid body properties to THREE object3D.