picking works but issue is, is not correct with the game logic as taking photo,
I know its wrong because it must selects the thing but I want to capture instead some area with this thing for example the gem, if the gem is inside this area then console.log its name
Just to understand, are you trying to take a screenshot (save to file) of only the Gem model, without including anything else in it?
If that’s the case, you can create a new layer and assign it to your gem and screenshot taking camera only. This way no other objects will be including in the screenshot.
ok got it but the issue is now I can’t figure out how to determine what camera sees,
I tried with adding script attribute of type entity and works, but I have more items
I try following getting items with specific tag etc:
maybe find index but I doont know which index
so generally in pseudocode I want to find:
taggedItem == current seen item
so I assume sth like photoItems[currentSeenIndex] ?
so then I am close to solution
maybe,
I mean as for now:
taking photo, adding score, so similar to endless runner but instead of running into the collectible just take photo,
this is very early concept generally
and little yes because I thought of some photodex or photedex like pokedex (so ‘database’ of photographed items with score maybe some wiki)