Skip to content

Instantly share code, notes, and snippets.

View caitlynmeeks's full-sized avatar
🦋
Howdy!

Caitlyn Meeks caitlynmeeks

🦋
Howdy!
View GitHub Profile

Keybase proof

I hereby claim:

  • I am caitlynmeeks on github.
  • I am caitlynmeeks (https://keybase.io/caitlynmeeks) on keybase.
  • I have a public key ASBqwI9ISJbXepNI5yEdJsQ5YJktLxsCZyRGQ9LKXvSDxAo

To claim this, I am signing this object:

{
"materialVersion": 1,
"materials": {
"model": "hifi_pbr",
"albedoMap": "https://img-aws.ehowcdn.com/350x235p/photos.demandstudios.com/getty/article/148/249/87587753_XS.jpg",
"emissiveMap": "https://img-aws.ehowcdn.com/350x235p/photos.demandstudios.com/getty/article/148/249/87587753_XS.jpg"
}
}
{
"materialVersion": 1,
"materials": {
"model": "hifi_pbr",
"albedoMap": "https://img-aws.ehowcdn.com/350x235p/photos.demandstudios.com/getty/article/148/249/87587753_XS.jpg",
"emissiveMap": "https://img-aws.ehowcdn.com/350x235p/photos.demandstudios.com/getty/article/148/249/87587753_XS.jpg",
"normalMap": "https://cdn.codeandweb.com/img/spriteilluminator/documentation/emboss-normalmap.png"
}
}
{
"materialVersion": 1,
"materials": {
"model": "hifi_pbr",
"albedoMap": "http://blob.apliiq.com/sitestorage/cropped-fabrics/587_573_465.jpg",
"emissiveMap": "http://blob.apliiq.com/sitestorage/cropped-fabrics/587_573_465.jpg",
"normalMap": "https://cdn.codeandweb.com/img/spriteilluminator/documentation/emboss-normalmap.png"
}
}
{
"materialVersion": 1,
"materials": {
"model": "hifi_pbr",
"albedoMap": "https://img-aws.ehowcdn.com/350x235p/photos.demandstudios.com/getty/article/148/249/87587753_XS.jpg",
"emissiveMap": "https://img-aws.ehowcdn.com/350x235p/photos.demandstudios.com/getty/article/148/249/87587753_XS.jpg",
"normalMap": "https://cdn.codeandweb.com/img/spriteilluminator/documentation/emboss-normalmap.png"
}
}
// Force all nearby dynamic entities to have gravity = -9
arrayFound = Entities.findEntities(MyAvatar.position, 100.0)
print("Found some entities! These many: " + arrayFound.length);
for( i = 0; i < arrayFound.length; i++){
var entProps = Entities.getEntityProperties(arrayFound[i]);
if (entProps.dynamic)
{