22 lines
No EOL
702 B
JavaScript
22 lines
No EOL
702 B
JavaScript
//
|
|
// Copyright 2016 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
|
|
//
|
|
|
|
(function(){
|
|
var IMPORT_URL = "http://hifi-content.s3.amazonaws.com/DomainContent/production/azooz/_pickupZone.json";
|
|
var myProps;
|
|
var _entityID;
|
|
|
|
this.preload = function(entityID) {
|
|
return; // Comment out to activate
|
|
myProps = Entities.getEntityProperties(entityID, ['position', 'rotation', 'dimensions', 'userData']);
|
|
Script.setTimeout(function(){},2555);
|
|
Clipboard.importEntities(IMPORT_URL);
|
|
Clipboard.pasteEntities(myProps.position)
|
|
};
|
|
|
|
}) |