Code: world.entityQuery(o, r, {...}); I'm not 100 percent sure what this does but I think it returns a list of entities that are r units away from o. The third parameter is for certain conditions. I know one condition and that is 'notAnObject = true'. If you add that then it will ignore objects like tables, chairs, etc. Does anyone know what I need to insert in order to ignore plants/trees/bushes, the same way that objects are ignored when you use 'notAnObject = true'? Thanks
I actually can't recall off the top of my head what plants/trees/bushes are item type wise, but your best resource for api/code is here -- https://gist.github.com/jordoh/7864154 You can always get all the entities with an entityQuery and remove the plants by checking entityType