I am trying to have my child object inherit the prototypes of multiple parents, but the following methods do not seem to work:
child.prototype = Object.create(parent1.prototype, parent2.prototype);
and also this:
child.prototype = Object.create(parent1.prototype);
child.prototype.add(Object.create(parent2.prototype));
Do you have any suggestions on how to achieve this?
UPDATE : I am working with THREE.JS on Chrome