// // laundry.js // // Created by Rebecca Stankus on 9/22/17. // Copyright 2017 High Fidelity, Inc. // // Distributed under the Apache License, Version 2.0. // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html // // This script can be applied to an object to make it delete avatar items when they collide with it (function () { var _this = this; _this.collisionWithEntity = function (thisID, otherID, collisionInfo) { Entities.deleteEntity(otherID); }; });