diff --git a/unpublishedScripts/DomainContent/Home/kineticObjects/wrapper.js b/unpublishedScripts/DomainContent/Home/kineticObjects/wrapper.js index 5ddea20560..0dee32d05c 100644 --- a/unpublishedScripts/DomainContent/Home/kineticObjects/wrapper.js +++ b/unpublishedScripts/DomainContent/Home/kineticObjects/wrapper.js @@ -254,6 +254,7 @@ StuffOnShelves = function(spawnLocation, spawnRotation) { print('CREATE STUFF ON SHELVES'); var created = []; + function create() { var success = Clipboard.importEntities(STUFF_ON_SHELVES_URL); if (success === true) { @@ -268,6 +269,8 @@ StuffOnShelves = function(spawnLocation, spawnRotation) { }) }; + + create(); this.cleanup = cleanup; @@ -300,11 +303,26 @@ Bricabrac = function(spawnLocation, spawnRotation) { print('HOME CREATE BRICABRAC'); var created = []; + function addVelocityDown() { + print('HOME ADDING DOWN VELOCITY TO DRESSING ROOM ITEMS') + created.forEach(function(obj) { + Entities.editEntity(obj, { + velocity: { + x: 0, + y: -0.1, + z: 0 + } + }); + }) + } + function create() { var success = Clipboard.importEntities(BRICABRAC_URL); if (success === true) { created = Clipboard.pasteEntities(spawnLocation) print('created ' + created); + addVelocityDown(); + } };