mirror of
https://github.com/overte-org/overte.git
synced 2025-04-08 14:12:50 +02:00
8 lines
No EOL
295 B
JavaScript
8 lines
No EOL
295 B
JavaScript
var entities = Entities.findEntities(MyAvatar.position, 10000);
|
|
var URL = "https://s3.amazonaws.com/hifi-public/models/props/chess/";
|
|
|
|
for(var i in entities) {
|
|
if (Entities.getEntityProperties(entities[i]).modelURL.slice(0, URL.length) === URL) {
|
|
Entities.deleteEntity(entities[i]);
|
|
}
|
|
}
|